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::Vec2f Struct Reference

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
 

Detailed Description

A 2D vector struct with overloaded operators.


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