Wrath of Zeus
Made by Torchlight Games for CSE 125 SP24
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
Vector3 Class Reference

#include <vector3.hpp>

Public Member Functions

 Vector3 ()
 
 Vector3 (float x, float y, float z)
 
void setVector (float x, float y, float z)
 Sets this Vector3's values to the given arguments. More...
 
Vector3 operator+ (const Vector3 &v)
 
std::string to_string ()
 

Data Fields

float x
 
float y
 
float z
 

Constructor & Destructor Documentation

◆ Vector3() [1/2]

Vector3::Vector3 ( )
inline

◆ Vector3() [2/2]

Vector3::Vector3 ( float  x,
float  y,
float  z 
)
inline

Member Function Documentation

◆ operator+()

Vector3 Vector3::operator+ ( const Vector3 v)

◆ setVector()

void Vector3::setVector ( float  x,
float  y,
float  z 
)

Sets this Vector3's values to the given arguments.

Parameters
x
y
z

◆ to_string()

std::string Vector3::to_string ( )

Field Documentation

◆ x

float Vector3::x

◆ y

float Vector3::y

◆ z

float Vector3::z

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