new BVHStrategySingleton()
A singleton for BVH strategies.
- Source:
Members
-
<private, static> strategy :Grape2D.BVHStrategy
-
Strategy in use.
Type:
- Source:
Methods
-
<static> getStrategy() → {Grape2D.BVHStrategy}
-
Gets the strategy.
- Source:
Returns:
The strategy- Type
- Grape2D.BVHStrategy
-
<static> setStrategy(strategy)
-
Sets a strategy.
Parameters:
Name Type Description strategy
Grape2D.BVHStrategy The new strategy. - Source: