Nebula
Loading...
Searching...
No Matches
Im3d::AppData Struct Reference

#include <im3d.h>

Public Member Functions

void setCullFrustum (const Mat4 &_viewProj, bool _ndcZNegativeOneToOne)
 

Public Attributes

bool m_keyDown [Key_Count] = { false }
 
Vec4 m_cullFrustum [FrustumPlane_Count] = { Vec4(0.0f) }
 
Vec3 m_cursorRayOrigin = Vec3(0.0f)
 
Vec3 m_cursorRayDirection = Vec3(0.0f)
 
Vec3 m_worldUp = Vec3(0.0f, 1.0f, 0.0f)
 
Vec3 m_viewOrigin = Vec3(0.0f)
 
Vec3 m_viewDirection = Vec3(0.0f)
 
Vec2 m_viewportSize = Vec2(0.0f)
 
float m_projScaleY = 1.0f
 
bool m_projOrtho = false
 
float m_deltaTime = 0.0f
 
float m_snapTranslation = 0.0f
 
float m_snapRotation = 0.0f
 
float m_snapScale = 0.0f
 
bool m_flipGizmoWhenBehind = true
 
void * m_appData = nullptr
 
DrawPrimitivesCallbackdrawCallback = nullptr
 

Member Function Documentation

◆ setCullFrustum()

void AppData::setCullFrustum ( const Mat4 & _viewProj,
bool _ndcZNegativeOneToOne )

Member Data Documentation

◆ drawCallback

DrawPrimitivesCallback* Im3d::AppData::drawCallback = nullptr

◆ m_appData

void* Im3d::AppData::m_appData = nullptr

◆ m_cullFrustum

Vec4 Im3d::AppData::m_cullFrustum[FrustumPlane_Count] = { Vec4(0.0f) }

◆ m_cursorRayDirection

Vec3 Im3d::AppData::m_cursorRayDirection = Vec3(0.0f)

◆ m_cursorRayOrigin

Vec3 Im3d::AppData::m_cursorRayOrigin = Vec3(0.0f)

◆ m_deltaTime

float Im3d::AppData::m_deltaTime = 0.0f

◆ m_flipGizmoWhenBehind

bool Im3d::AppData::m_flipGizmoWhenBehind = true

◆ m_keyDown

bool Im3d::AppData::m_keyDown[Key_Count] = { false }

◆ m_projOrtho

bool Im3d::AppData::m_projOrtho = false

◆ m_projScaleY

float Im3d::AppData::m_projScaleY = 1.0f

◆ m_snapRotation

float Im3d::AppData::m_snapRotation = 0.0f

◆ m_snapScale

float Im3d::AppData::m_snapScale = 0.0f

◆ m_snapTranslation

float Im3d::AppData::m_snapTranslation = 0.0f

◆ m_viewDirection

Vec3 Im3d::AppData::m_viewDirection = Vec3(0.0f)

◆ m_viewOrigin

Vec3 Im3d::AppData::m_viewOrigin = Vec3(0.0f)

◆ m_viewportSize

Vec2 Im3d::AppData::m_viewportSize = Vec2(0.0f)

◆ m_worldUp

Vec3 Im3d::AppData::m_worldUp = Vec3(0.0f, 1.0f, 0.0f)

The documentation for this struct was generated from the following files: