This commit is contained in:
watrabi
2025-10-28 14:05:46 -04:00
parent 977f1ff4b8
commit c93494f795
452 changed files with 47860 additions and 152 deletions
+25
View File
@@ -0,0 +1,25 @@
#pragma once
/*
Utility class - holds Block Meshes of same size for use by Geometry Pool.
*/
#include "V8World/Mesh.h"
#include "Util/Memory.h"
namespace RBX {
namespace POLY {
class BlockMesh : public Allocator<BlockMesh>
{
Mesh mesh;
public:
BlockMesh(const Vector3& size) {
mesh.makeBlock(size);
}
const Mesh* getMesh() const {return &mesh;}
};
} // namespace POLY
} // namespace RBX