SilverLining
Public Member Functions | List of all members
SilverLining::Vector4f Class Reference

A simple single-precision 4D vector class with no operations defined. More...

#include <Vector4.h>

Public Member Functions

 Vector4f (float px, float py, float pz, float pw)
 Constructs a Vector4 from the given x, y, z, and w values.
 
 Vector4f (const Vector3f &v3)
 Constructs a Vector4 from a Vector3, setting w to 1.
 
 Vector4f ()
 Default constructor; initializes the Vector4 to (0, 0, 0, 1)
 

Detailed Description

A simple single-precision 4D vector class with no operations defined.

Constructor & Destructor Documentation

◆ Vector4f() [1/2]

SilverLining::Vector4f::Vector4f ( float  px,
float  py,
float  pz,
float  pw 
)
inline

Constructs a Vector4 from the given x, y, z, and w values.

◆ Vector4f() [2/2]

SilverLining::Vector4f::Vector4f ( const Vector3f v3)
inline

Constructs a Vector4 from a Vector3, setting w to 1.


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