Home
last modified time | relevance | path

Searched defs:ResProjectionRect (Results 1 – 1 of 1) sorted by relevance

/NW4C-1.2.23/include/nw/gfx/res/
Dgfx_ResCamera.h98 struct ResProjectionRect struct
100 nw::ut::ResF32 m_AspectRatio;
101 nw::ut::ResF32 m_Height;
102 nw::ut::ResVec2 m_Center;
109 operator nw::ut::Rect() const in Rect()
119 f32 GetHeight() const { return m_Height; } in GetHeight()
124 f32 GetWidth() const { return m_Height * m_AspectRatio; } in GetWidth()
129 f32 GetAspectRatio() const { return m_AspectRatio; } in GetAspectRatio()
134 nw::math::VEC2 GetCenter() const { return m_Center; } in GetCenter()
142 void Set( f32 l, f32 r, f32 b, f32 t ) in Set()
[all …]