15 lines
328 B
C++
15 lines
328 B
C++
#pragma once
|
|
|
|
#include "vector.hpp"
|
|
|
|
namespace math
|
|
{
|
|
|
|
constexpr float PI = 3.14159265358979323846f;
|
|
|
|
Vector RotatePoint(const Vector& center, float angle, const Vector& p);
|
|
Vector ScalePoint(const Vector& center, float factor, const Vector& p);
|
|
float RotateAngle(float originalAngle, float rotationAngle);
|
|
|
|
|
|
} // namespace math
|