GlPortal Class Reference
0.1.1
Source code documentation of the free and open 3D action puzzle game.
|
3-dimensional float
-based vector/point storage and manipulation struct
More...
#include <external/RadixEngine/include/radix/core/math/Vector3f.hpp>
Inherits Serializable.
Public Member Functions | |
constexpr | Vector3f () |
constexpr | Vector3f (float x, float y, float z) |
constexpr | Vector3f (float v) |
float | length () const |
std::string | str () const |
void | serialize (serine::Archiver &) |
constexpr bool | operator== (const Vector3f &v) const |
constexpr bool | operator!= (const Vector3f &v) const |
constexpr Vector3f | operator- () const |
constexpr Vector3f | operator* (const Vector3f &v) const |
Vector3f & | operator*= (const Vector3f &v) |
constexpr Vector3f | operator* (float v) const |
Vector3f & | operator*= (float v) |
constexpr Vector3f | operator/ (const Vector3f &v) const |
Vector3f & | operator/= (const Vector3f &v) |
constexpr Vector3f | operator/ (float v) const |
Vector3f & | operator/= (float v) |
constexpr Vector3f | operator+ (const Vector3f &v) const |
Vector3f & | operator+= (const Vector3f &v) |
constexpr Vector3f | operator- (const Vector3f &v) const |
Vector3f & | operator-= (const Vector3f &v) |
bool | fuzzyEqual (const Vector3f &, float threshold=.02f) const |
Vector3f (const btVector3 &) | |
operator btVector3 () const | |
Vector3f & | operator= (const btVector3 &) |
Data Fields | |
union { | |
float x | |
float r | |
float s | |
float yaw | |
float heading | |
float azimuth | |
float tetha | |
}; | |
union { | |
float y | |
float g | |
float t | |
float pitch | |
float attitude | |
float elevation | |
float phi | |
}; | |
union { | |
float z | |
float b | |
float u | |
float roll | |
float bank | |
float tilt | |
float psi | |
}; | |
Static Public Attributes | |
static const Vector3f | ZERO |
static const Vector3f | FORWARD |
static const Vector3f | UP |
3-dimensional float
-based vector/point storage and manipulation struct
|
inline |
|
inline |
|
inline |
radix::Vector3f::Vector3f | ( | const btVector3 & | v | ) |
bool radix::Vector3f::fuzzyEqual | ( | const Vector3f & | v, |
float | threshold = .02f |
||
) | const |
float radix::Vector3f::length | ( | ) | const |
radix::Vector3f::operator btVector3 | ( | ) | const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Vector3f & radix::Vector3f::operator= | ( | const btVector3 & | v | ) |
|
inline |
void radix::Vector3f::serialize | ( | serine::Archiver & | ar | ) |
std::string radix::Vector3f::str | ( | ) | const |
union { ... } |
union { ... } |
union { ... } |
float radix::Vector3f::attitude |
float radix::Vector3f::azimuth |
float radix::Vector3f::b |
float radix::Vector3f::bank |
float radix::Vector3f::elevation |
|
static |
float radix::Vector3f::g |
float radix::Vector3f::heading |
float radix::Vector3f::phi |
float radix::Vector3f::pitch |
float radix::Vector3f::psi |
float radix::Vector3f::r |
float radix::Vector3f::roll |
float radix::Vector3f::s |
float radix::Vector3f::t |
float radix::Vector3f::tetha |
float radix::Vector3f::tilt |
float radix::Vector3f::u |
|
static |
float radix::Vector3f::x |
float radix::Vector3f::y |
float radix::Vector3f::yaw |
float radix::Vector3f::z |
|
static |