Blender V5.3
blender::ed::sculpt_paint::BrushPositionCandidate Struct Reference

Public Attributes

float3 position_cu
float distance_sq_re = FLT_MAX
float depth_sq_cu = FLT_MAX

Detailed Description

Definition at line 43 of file sculpt_brush.cc.

Member Data Documentation

◆ depth_sq_cu

float blender::ed::sculpt_paint::BrushPositionCandidate::depth_sq_cu = FLT_MAX

Measure for how far away the candidate is from the camera.

Definition at line 49 of file sculpt_brush.cc.

Referenced by blender::ed::sculpt_paint::find_curves_brush_position().

◆ distance_sq_re

float blender::ed::sculpt_paint::BrushPositionCandidate::distance_sq_re = FLT_MAX

Squared distance from the mouse position in screen space.

Definition at line 47 of file sculpt_brush.cc.

Referenced by blender::ed::sculpt_paint::find_curves_brush_position().

◆ position_cu

float3 blender::ed::sculpt_paint::BrushPositionCandidate::position_cu

3D position of the brush.

Definition at line 45 of file sculpt_brush.cc.

Referenced by blender::ed::sculpt_paint::find_curves_brush_position().


The documentation for this struct was generated from the following file: