#include <sharedobject.hpp>
|
| glm::vec3 | corner |
| | 3-D vector that denotes this object's bottom left corner (min x and z coordinates). More...
|
| |
| glm::vec3 | facing |
| | 3-D vector that denotes this object's facing direction. More...
|
| |
| glm::vec3 | dimensions |
| | 3-D vector that defines a rectangular prism which outlines the object that contains this SharedPhysic struct. More...
|
| |
◆ DEF_SERIALIZE()
| SharedPhysics::DEF_SERIALIZE |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
inline |
◆ getCenterPosition()
| glm::vec3 SharedPhysics::getCenterPosition |
( |
| ) |
const |
Calculates and returns the center position of this object.
- Returns
- glm::vec3 that denotes the center position of this object.
◆ corner
| glm::vec3 SharedPhysics::corner |
3-D vector that denotes this object's bottom left corner (min x and z coordinates).
◆ dimensions
| glm::vec3 SharedPhysics::dimensions |
3-D vector that defines a rectangular prism which outlines the object that contains this SharedPhysic struct.
- Note
- This field dictates the dimensions of the object for rendering in the client.
◆ facing
| glm::vec3 SharedPhysics::facing |
3-D vector that denotes this object's facing direction.
The documentation for this struct was generated from the following files: