mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-12-21 04:00:13 +00:00
Use better API terminology for radii
- SetProximityRadius just calls AddProximityRadius so its clear what is going on. - created struct BoxDimensions for clear reading of what the floats are
This commit is contained in:
@@ -10,12 +10,14 @@
|
||||
#include "dpCollisionGroups.h"
|
||||
#include "dpGrid.h"
|
||||
|
||||
class BoxDimensions;
|
||||
|
||||
class dpEntity {
|
||||
friend class dpGrid; //using friend here for now so grid can access everything
|
||||
|
||||
public:
|
||||
dpEntity(const LWOOBJID& objectID, dpShapeType shapeType, bool isStatic = true);
|
||||
dpEntity(const LWOOBJID& objectID, NiPoint3 boxDimensions, bool isStatic = true);
|
||||
dpEntity(const LWOOBJID& objectID, const BoxDimensions& boxDimensions, bool isStatic = true);
|
||||
dpEntity(const LWOOBJID& objectID, float width, float height, float depth, bool isStatic = true);
|
||||
dpEntity(const LWOOBJID& objectID, float radius, bool isStatic = true);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user