Fx2D
A C++20 2D rigid-body physics engine
Loading...
Searching...
No Matches
FxVec3f Class Reference

Single-precision three-component vector, including poses. More...

#include <Math.h>

+ Inheritance diagram for FxVec3f:
+ Collaboration diagram for FxVec3f:

Public Member Functions

 FxVec3f (float a)
 
float & x ()
 
float & y ()
 
float & z ()
 
float & theta ()
 
float x () const
 
float y () const
 
float z () const
 
float theta () const
 
void set_x (float val)
 
void set_y (float val)
 
void set_z (float val)
 
void set_theta (float val)
 
FxVec2fMap xy ()
 
FxVec2f get_xy () const
 
FxVec2f xy () const
 
void set_xy (const FxVec2f &v2)
 

Detailed Description

Single-precision three-component vector, including poses.

Definition at line 159 of file Math.h.

Constructor & Destructor Documentation

◆ FxVec3f()

FxVec3f::FxVec3f ( float  a)
inlineexplicit

Definition at line 164 of file Math.h.

Member Function Documentation

◆ get_xy()

FxVec2f FxVec3f::get_xy ( ) const
inline

Definition at line 187 of file Math.h.

◆ set_theta()

void FxVec3f::set_theta ( float  val)
inline

Definition at line 184 of file Math.h.

◆ set_x()

void FxVec3f::set_x ( float  val)
inline

Definition at line 180 of file Math.h.

◆ set_xy()

void FxVec3f::set_xy ( const FxVec2f &  v2)
inline

Definition at line 189 of file Math.h.

◆ set_y()

void FxVec3f::set_y ( float  val)
inline

Definition at line 181 of file Math.h.

◆ set_z()

void FxVec3f::set_z ( float  val)
inline

Definition at line 182 of file Math.h.

◆ theta() [1/2]

float & FxVec3f::theta ( )
inline

Definition at line 171 of file Math.h.

◆ theta() [2/2]

float FxVec3f::theta ( ) const
inline

Definition at line 177 of file Math.h.

◆ x() [1/2]

float & FxVec3f::x ( )
inline

Definition at line 167 of file Math.h.

◆ x() [2/2]

float FxVec3f::x ( ) const
inline

Definition at line 174 of file Math.h.

◆ xy() [1/2]

FxVec2fMap FxVec3f::xy ( )
inline

Definition at line 186 of file Math.h.

◆ xy() [2/2]

FxVec2f FxVec3f::xy ( ) const
inline

Definition at line 188 of file Math.h.

◆ y() [1/2]

float & FxVec3f::y ( )
inline

Definition at line 168 of file Math.h.

◆ y() [2/2]

float FxVec3f::y ( ) const
inline

Definition at line 175 of file Math.h.

◆ z() [1/2]

float & FxVec3f::z ( )
inline

Definition at line 169 of file Math.h.

◆ z() [2/2]

float FxVec3f::z ( ) const
inline

Definition at line 176 of file Math.h.


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