Level H Engine
Scaling.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include "Vec2.h"
4 
8 namespace Scaling
9 {
16  Vec2 scaleVec2(Vec2 vector, int scale);
17 
24  float scaleNumber(float number, int scale);
25 }
float scaleNumber(float number, int scale)
Scale the number using a number.
Definition: Scaling.cpp:36
Contains the Vec2 structure with functions and overloaded operators.
Definition: Vec2.h:8
Vec2 scaleVec2(Vec2 vector, int scale)
Scale a vec2 using a number.
Definition: Scaling.cpp:5
A namespace to contain maths functions to scale.
Definition: Scaling.h:8