|
Blender V5.3
|
#include <draw_gsplat_lib.bsl.hh>
Public Member Functions | |
| uint | pack () const |
Static Public Member Functions | |
| static AxisTuple | from (float2 axis_0, float2 axis_1) |
| static AxisTuple | unpack (uint data) |
Public Attributes | |
| float2 | axis_0 |
| float2 | axis_1 |
Helper tuple storing a pair of perpendicular vectors with non-unit lengths. Packs to a single uint. Vectors are re-ordered to be efficient for packing.
Definition at line 226 of file draw_gsplat_lib.bsl.hh.
Definition at line 230 of file draw_gsplat_lib.bsl.hh.
References axis_0, axis_1, draw::gsplat::detail::swap(), float2::x, and float2::y.
Referenced by draw::gsplat::covmat_to_axes().
|
inline |
Definition at line 241 of file draw_gsplat_lib.bsl.hh.
References axis_0, axis_1, clamp(), length(), normalize_and_get_length(), and float2::x.
Referenced by draw::gsplat::SplatData::pack().
|
inlinestatic |
Definition at line 261 of file draw_gsplat_lib.bsl.hh.
References axis_0, axis_1, cos_from_sin(), float, normalize, float2::x, and float2::y.
| float2 draw::gsplat::AxisTuple::axis_0 |
Definition at line 227 of file draw_gsplat_lib.bsl.hh.
Referenced by from(), draw::gsplat::detail::is_inside_viewport(), pack(), and unpack().
| float2 draw::gsplat::AxisTuple::axis_1 |
Definition at line 228 of file draw_gsplat_lib.bsl.hh.
Referenced by from(), draw::gsplat::detail::is_inside_viewport(), pack(), and unpack().