This commit is contained in:
aozhiwei 2023-03-27 19:29:24 +08:00
parent eef2f09100
commit fce401bbbe
3 changed files with 2 additions and 2 deletions

View File

@ -4,8 +4,6 @@
#include "mapcollider.h"
static const float MAP_SCALE = 10;
namespace mc
{

View File

@ -6,6 +6,7 @@
namespace mc
{
const float MAP_SCALE = 10;
enum ColliderType_e
{

View File

@ -87,6 +87,7 @@ namespace mt
}
{
mc::MeshCollider* mesh = new mc::MeshCollider();
mesh->type = mc::kMeshCollider;
for (auto v : verts_pb.vectors()) {
mesh->mesh.vertices.push_back
(