This commit is contained in:
watrabi
2025-09-18 17:55:52 -04:00
commit 977f1ff4b8
15030 changed files with 17324420 additions and 0 deletions
+22
View File
@@ -0,0 +1,22 @@
#include "stdafx.h"
#include "v8World/ContactManagerSpatialHash.h"
#include "v8World/ContactManager.h"
#include "v8World/Contact.h"
#include "v8World/Assembly.h"
// instantiate for contactmanager.
template class RBX::SpatialHash<RBX::Primitive, RBX::Contact, RBX::ContactManager, CONTACTMANAGER_MAXLEVELS>;
#define CONTACT_MANAGER_MAX_CELLS_PER_PRIMITIVE 100
namespace RBX
{
ContactManagerSpatialHash::ContactManagerSpatialHash(World* world, ContactManager* contactManager)
: SpatialHash<Primitive,Contact,ContactManager, CONTACTMANAGER_MAXLEVELS>(world, contactManager, CONTACT_MANAGER_MAX_CELLS_PER_PRIMITIVE) // max cells per primitive is 100 for contact manager
{
}
}