binana/profile/3.3.5a-windows-386/include/m2/light.h

28 lines
498 B
C
Raw Normal View History

2024-11-01 03:54:09 -04:00
#ifndef M2_LIGHT_H
#define M2_LIGHT_H
DECLARE_STRUCT(CM2Light);
#include "m2/scene.h"
struct CM2Light {
CM2Scene* m_scene;
uint32_t dword4;
uint32_t m_type;
C3Vector m_pos;
float float10;
float float14;
float float18;
C3Vector m_dir;
C3Vector m_ambColor;
C3Vector m_dirColor;
C3Vector m_specColor;
float m_constantAttenuation;
float m_linearAttenuation;
float m_quadraticAttenuation;
uint32_t m_visible;
CM2Light** m_lightPrev;
CM2Light* m_lightNext;
};
#endif