Carpenter Engine
A C++ game engine with a build once run anywhere solution
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
Engine::Vec3f Struct Reference

A 3D vector struct with overloaded operators. More...

#include <Utils.hpp>

Public Member Functions

Vec3f operator+ (const Vec3f &rhs)
 Adds two Vec3f objects.
 
Vec3f operator* (const float &rhs)
 Compute scalar multiplication.
 
Vec3f operator* (const Vec3f &rhs)
 Computes Multiplication in parallel.
 
float lengthSquared ()
 Returns the length of the vector.
 
bool operator== (const Vec3f &rhs)
 

Public Attributes

float x
 
float y
 
float z
 

Detailed Description

A 3D vector struct with overloaded operators.


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