|
Blender V5.3
|
#include <draw_view.hh>
Public Member Functions | |
| OffsetData ()=default | |
| OffsetData (const RegionView3D &rv3d) | |
| float4x4 | winmat_polygon_offset (const float4x4 &winmat, float offset) |
| float | polygon_offset_factor (const float4x4 &winmat) |
Public Attributes | |
| float | dist = 0.0f |
| char | persp = 0 |
| bool | is_persp = false |
Definition at line 194 of file draw_view.hh.
|
default |
|
inline |
Definition at line 203 of file draw_view.hh.
Definition at line 223 of file draw_view.hh.
References dist, fabsf, blender::GPU_polygon_offset_calc(), is_persp, blender::max_ff(), persp, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::RV3D_CAMOB, and blender::draw::View::winmat().
Referenced by blender::draw::overlay::Instance::draw().
|
inline |
Definition at line 208 of file draw_view.hh.
References dist, fabsf, blender::GPU_polygon_offset_calc(), is_persp, blender::max_ff(), persp, blender::MatBase< T, NumCol, NumRow, Alignment >::ptr(), blender::result, blender::RV3D_CAMOB, and blender::draw::View::winmat().
Referenced by blender::draw::edit_select::Instance::draw(), and blender::draw::overlay::Text::draw().
| float blender::draw::View::OffsetData::dist = 0.0f |
Definition at line 196 of file draw_view.hh.
Referenced by OffsetData(), polygon_offset_factor(), and winmat_polygon_offset().
| bool blender::draw::View::OffsetData::is_persp = false |
Definition at line 200 of file draw_view.hh.
Referenced by OffsetData(), polygon_offset_factor(), and winmat_polygon_offset().
| char blender::draw::View::OffsetData::persp = 0 |
Definition at line 198 of file draw_view.hh.
Referenced by OffsetData(), polygon_offset_factor(), and winmat_polygon_offset().