XPlor/libs/assets/comworld.h

31 lines
582 B
C
Raw Normal View History

2025-06-07 11:20:47 -04:00
#ifndef COMWORLD_H
#define COMWORLD_H
struct ComPrimaryLight
{
unsigned __int8 type;
unsigned __int8 canUseShadowMap;
unsigned __int8 exponent;
unsigned __int8 unused;
float color[3];
float dir[3];
float origin[3];
float radius;
float cosHalfFovOuter;
float cosHalfFovInner;
float cosHalfFovExpanded;
float rotationLimit;
float translationLimit;
const char *defName;
};
struct ComWorld
{
const char *name;
int isInUse;
unsigned int primaryLightCount;
ComPrimaryLight *primaryLights;
};
#endif // COMWORLD_H