public ShadowConfig(SceneManager scene) { this.scene = scene; GetShaderSupport(); shadowTechnique = ShadowTechnique.None; ParameterRegistry.RegisterSubsystemHandlers("Shadows", setShadowParameterHandler, getShadowParameterHandler); }
////////////////////////////////////////////////////////////////////// // // The external interface to the collision library // ////////////////////////////////////////////////////////////////////// public CollisionAPI(bool logCollisions) { if (logCollisions) #if NOT { MO.InitLog(true); } #else { MO.DoLog = true; } #endif sphereTree = new SphereTree(); sphereTree.Initialize(); topLevelCalls = 0; partCalls = 0; topLevelCollisions = 0; collisionTestCount = 0; ParameterRegistry.RegisterSubsystemHandlers("CollisionAPI", setParameterHandler, getParameterHandler); }