File tree 1 file changed +3
-1
lines changed
1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -155,14 +155,16 @@ pub struct GizmoConfig {
155
155
pub line_perspective : bool ,
156
156
/// How closer to the camera than real geometry the line should be.
157
157
///
158
+ /// In 2D this setting has no effect and is effectively always -1.
159
+ ///
158
160
/// Value between -1 and 1 (inclusive).
159
161
/// * 0 means that there is no change to the line position when rendering
160
162
/// * 1 means it is furthest away from camera as possible
161
163
/// * -1 means that it will always render in front of other things.
162
164
///
163
165
/// This is typically useful if you are drawing wireframes on top of polygons
164
166
/// and your wireframe is z-fighting (flickering on/off) with your main model.
165
- /// You would set this value to a negative number close to 0.0.
167
+ /// You would set this value to a negative number close to 0.
166
168
pub depth_bias : f32 ,
167
169
/// Configuration for the [`AabbGizmo`].
168
170
pub aabb : AabbGizmoConfig ,
You can’t perform that action at this time.
0 commit comments