Home
last modified time | relevance | path

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

/NW4C-2.0.3/include/nw/gfx/res/
Dgfx_ResCamera.h100 struct ResProjectionRect struct
102 nw::ut::ResF32 m_AspectRatio;
103 nw::ut::ResF32 m_Height;
104 nw::ut::ResVec2 m_Center;
111 operator nw::ut::Rect() const in Rect()
121 f32 GetHeight() const { return m_Height; } in GetHeight()
126 f32 GetWidth() const { return m_Height * m_AspectRatio; } in GetWidth()
131 f32 GetAspectRatio() const { return m_AspectRatio; } in GetAspectRatio()
136 nw::math::VEC2 GetCenter() const { return m_Center; } in GetCenter()
143 NW_DEPRECATED_FUNCTION(void Set( f32 l, f32 r, f32 b, f32 t )) in NW_DEPRECATED_FUNCTION()
[all …]