2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-09 21:07:42 +00:00

Initial CCollidableOBBTreeGroup imps

This commit is contained in:
2016-04-26 03:40:56 -07:00
parent 460f4ade35
commit bacc98d4a6
15 changed files with 275 additions and 5 deletions

View File

@@ -0,0 +1,34 @@
#ifndef CWORLDLIGHT_HPP
#define CWORLDLIGHT_HPP
#include "Graphics/CLight.hpp"
namespace urde
{
class CWorldLight
{
ELightType x0_type = ELightType::Custom;
zeus::CVector3f x4_color;
zeus::CVector3f x10_position;
zeus::CVector3f x1c_direction;
float x28_q = 0.f;
float x2c_cutoffAngle = 0.f;
float x30_ = 0.f;
bool x34_castShadows = false;
float x38_ = 0.f;
EFalloffType x3c_falloff = EFalloffType::Linear;
float x40_ = 0.f;
public:
CWorldLight(const CWorldLight&) = default;
CWorldLight(CInputStream& in);
ELightType GetLightType() const;
const zeus::CVector3f& GetDirection() const;
const zeus::CVector3f& GetPosition() const;
bool DoesCastShadows() const;
CLight GetAsCGraphicsLight() const;
};
}
#endif // CWORLDLIGHT_HPP