Carpenter Engine
A C++ game engine with a build once run anywhere solution
|
A 2D vector struct with overloaded operators. More...
#include <Utils.hpp>
Public Member Functions | |
Vec2f | operator+ (const Vec2f &rhs) |
Add two Vec2f objects together. | |
Vec2f | operator* (const float &rhs) |
Compute scalar multiplication. | |
Vec2f | operator* (const Vec2f &rhs) |
Compute multiplication in parallel. | |
Public Attributes | |
float | x |
float | y |
A 2D vector struct with overloaded operators.