mirror of
https://github.com/thunderbrewhq/binana.git
synced 2025-12-12 09:52:28 +00:00
34 lines
735 B
C
34 lines
735 B
C
|
|
#ifndef UI_SIMPLE_MODEL_H
|
||
|
|
#define UI_SIMPLE_MODEL_H
|
||
|
|
|
||
|
|
#include "tempest/box.h"
|
||
|
|
#include "tempest/vector.h"
|
||
|
|
#include "framescript/object.h"
|
||
|
|
#include "m2/scene.h"
|
||
|
|
#include "m2/model.h"
|
||
|
|
#include "ui/simpleframe.h"
|
||
|
|
|
||
|
|
DECLARE_STRUCT(CSimpleModel);
|
||
|
|
|
||
|
|
// class CSimpleModel : CSimpleFrame
|
||
|
|
struct CSimpleModel {
|
||
|
|
CSimpleFrame b_base;
|
||
|
|
CM2Scene* m_scene;
|
||
|
|
CM2Model* m_model;
|
||
|
|
CCamera* m_camera;
|
||
|
|
uint32_t m_pendingCameraIndex;
|
||
|
|
uint32_t m_pendingCameraId;
|
||
|
|
CM2Light m_light;
|
||
|
|
C3Vector m_position;
|
||
|
|
float m_facing;
|
||
|
|
float m_scale;
|
||
|
|
uint32_t m_flags;
|
||
|
|
CImVector m_fogColor;
|
||
|
|
float m_fogNear;
|
||
|
|
float m_fogFar;
|
||
|
|
CAaBox m_bounds;
|
||
|
|
FrameScript_Object__ScriptIx m_onUpdateModel;
|
||
|
|
FrameScript_Object__ScriptIx m_onAnimFinished;
|
||
|
|
};
|
||
|
|
|
||
|
|
#endif
|