mirror of
https://github.com/copyrighttxt/watrbx-game-engine.git
synced 2026-09-05 21:27:48 +00:00
GEEKING
This commit is contained in:
@@ -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
|
||||
{
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user