13 lines
281 B
C++
13 lines
281 B
C++
#pragma once
|
|
|
|
#include "vector.hpp"
|
|
|
|
namespace math
|
|
{
|
|
|
|
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
|