|
102 Patches: Detours to the Rescue
C reference for DttR maintainers and modders.
|
#include <dttr_util_worldview.h>
Data Fields | |
| bool | valid |
| DTTR_PCDOGS_T_Math_Vec3I32 | eye |
| The camera eye is logical world XYZ, already converted from XZY storage. | |
| DTTR_PCDOGS_T_Math_Vec3I16 | forward |
| The view basis vectors (Q12). | |
| DTTR_PCDOGS_T_Math_Vec3I16 | right |
| DTTR_PCDOGS_T_Math_Vec3I16 | up |
| int32_t | near_fp |
| The near plane in world fixed point. | |
| DTTR_PCDOGS_T_Math_Vec2F | center |
| The screen center and per-axis focal lengths are in draw-space pixels. | |
| DTTR_PCDOGS_T_Math_Vec2F | focal |
Cached camera frame in screen-draw space. Build it once per frame with DTTR_Util_WorldView_Refresh and reuse it for each projection.
Definition at line 40 of file dttr_util_worldview.h.
| DTTR_PCDOGS_T_Math_Vec2F DTTR_Util_WorldView::center |
The screen center and per-axis focal lengths are in draw-space pixels.
Definition at line 55 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ViewToScreen().
| DTTR_PCDOGS_T_Math_Vec3I32 DTTR_Util_WorldView::eye |
The camera eye is logical world XYZ, already converted from XZY storage.
Definition at line 44 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ToView().
| DTTR_PCDOGS_T_Math_Vec2F DTTR_Util_WorldView::focal |
Definition at line 56 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ViewToScreen().
| DTTR_PCDOGS_T_Math_Vec3I16 DTTR_Util_WorldView::forward |
The view basis vectors (Q12).
Definition at line 47 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ToView().
| int32_t DTTR_Util_WorldView::near_fp |
The near plane in world fixed point.
Definition at line 52 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ProjectPoint(), and DTTR_Util_WorldView_ProjectPolygon().
| DTTR_PCDOGS_T_Math_Vec3I16 DTTR_Util_WorldView::right |
Definition at line 48 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ToView().
| DTTR_PCDOGS_T_Math_Vec3I16 DTTR_Util_WorldView::up |
Definition at line 49 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ToView().
| bool DTTR_Util_WorldView::valid |
Definition at line 41 of file dttr_util_worldview.h.
Referenced by DTTR_Util_WorldView_ProjectPolygon(), DTTR_Util_WorldView_Refresh(), DTTR_Util_WorldView_ToView(), and DTTR_Util_WorldView_ViewToScreen().