metaforce/Runtime/Graphics/CDrawablePlaneObject.hpp

26 lines
725 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;
bool x3c_24 : 1;
bool x3c_25 : 1;
public:
CDrawablePlaneObject(EDrawableType dtype, float dist, float something, const zeus::CAABox& aabb,
bool b1, const zeus::CPlane& plane, bool b2, const void* data)
2016-07-26 02:43:55 +00:00
: CDrawable(dtype, 0, dist, aabb, data), x24_targetBucket(0), x28_something(something),
2016-07-25 22:52:02 +00:00
x2c_plane(plane) {x3c_24 = b1; x3c_25 = b2;}
2016-06-28 18:54:55 +00:00
};
}
#endif // __URDE_CDRAWABLEOBJECT_HPP__