cpp_drawing/math/transforms.hpp
2025-09-26 18:39:24 +02:00

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