metaforce/Runtime/Graphics/CDrawablePlaneObject.hpp

27 lines
844 B
C++
Raw Normal View History

2016-06-28 18:54:55 +00:00
#ifndef __URDE_CDRAWABLEOBJECT_HPP__
#define __URDE_CDRAWABLEOBJECT_HPP__
#include "CDrawable.hpp"
#include "zeus/CPlane.hpp"
namespace urde
{
2016-07-25 22:52:02 +00:00
class CDrawablePlaneObject : public CDrawable
2016-06-28 18:54:55 +00:00
{
2016-07-26 02:43:55 +00:00
friend class Buckets;
u16 x24_targetBucket;
2016-07-25 22:52:02 +00:00
float x28_something;
zeus::CPlane x2c_plane;
2017-11-12 05:14:57 +00:00
bool x3c_24_invertTest : 1;
bool x3c_25_zOnly : 1;
2016-07-25 22:52:02 +00:00
public:
CDrawablePlaneObject(EDrawableType dtype, float dist, float something, const zeus::CAABox& aabb,
2017-11-12 05:14:57 +00:00
bool invertTest, const zeus::CPlane& plane, bool zOnly, const void* data)
2016-07-26 02:43:55 +00:00
: CDrawable(dtype, 0, dist, aabb, data), x24_targetBucket(0), x28_something(something),
2017-11-12 05:14:57 +00:00
x2c_plane(plane) {x3c_24_invertTest = invertTest; x3c_25_zOnly = zOnly;}
const zeus::CPlane& GetPlane() const { return x2c_plane; }
2016-06-28 18:54:55 +00:00
};
}
#endif // __URDE_CDRAWABLEOBJECT_HPP__