#pragma once /* Utility class - holds RightAngleRamp Meshes of same size for use by Geometry Pool. */ #include "Util/Memory.h" #include "V8World/Mesh.h" namespace RBX { namespace POLY { class RightAngleRampMesh : public Allocator { private: Mesh mesh; Vector3 LocalCofM; public: RightAngleRampMesh(const Vector3& size) { mesh.makeRightAngleRamp(size, LocalCofM); } const Mesh* getMesh() const {return &mesh;} const Vector3& GetLocalCofMFromMesh() const { return LocalCofM; } }; } // namespace POLY } // namespace RBX