scop
a small 3D object loader
Loading...
Searching...
No Matches
quat Class Reference

#include <Math.hpp>

Collaboration diagram for quat:

Public Member Functions

 quat ()
 
 quat (float _x, float _y, float _z, float _w)
 
quat operator* (const quat &other) const
 
quat normalize () const
 
mat4 toMat4 () const
 

Public Attributes

float x
 
float y
 
float z
 
float w
 

Detailed Description

Definition at line 261 of file Math.hpp.

Constructor & Destructor Documentation

◆ quat() [1/2]

quat::quat ( )
inline

Definition at line 266 of file Math.hpp.

Here is the caller graph for this function:

◆ quat() [2/2]

quat::quat ( float _x,
float _y,
float _z,
float _w )
inline

Definition at line 267 of file Math.hpp.

Member Function Documentation

◆ normalize()

quat quat::normalize ( ) const
inline

Definition at line 280 of file Math.hpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator*()

quat quat::operator* ( const quat & other) const
inline

Definition at line 270 of file Math.hpp.

Here is the call graph for this function:

◆ toMat4()

mat4 quat::toMat4 ( ) const
inline

Definition at line 289 of file Math.hpp.

Here is the caller graph for this function:

Member Data Documentation

◆ w

float quat::w

Definition at line 263 of file Math.hpp.

◆ x

float quat::x

Definition at line 263 of file Math.hpp.

◆ y

float quat::y

Definition at line 263 of file Math.hpp.

◆ z

float quat::z

Definition at line 263 of file Math.hpp.


The documentation for this class was generated from the following file: