Add initial project files (excluding ignored content)
This commit is contained in:
14
Maths/Maths.hpp
Normal file
14
Maths/Maths.hpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#pragma once
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
class Maths
|
||||
{
|
||||
public:
|
||||
// Compute new horizontal FOV based on native and target aspect ratio
|
||||
static double CompensateHorizontalFOV(const double baseHorizontalFOVDeg, const double baseAspectRatio, const double targetAspectRatio);
|
||||
|
||||
private:
|
||||
static double DegreesToRadians(double degrees);
|
||||
static double RadiansToDegrees(double radians);
|
||||
};
|
||||
Reference in New Issue
Block a user