Blender  V3.3
Public Attributes | List of all members
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 40 of file curves_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 46 of file curves_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 44 of file curves_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 42 of file curves_sculpt_brush.cc.

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


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