Files
deltaengine/include/renderer/camera.hpp
T
2026-02-12 19:55:21 +01:00

16 lines
354 B
C++

#ifndef DELTA_CAMERA
#define DELTA_CAMERA
#include "math.hpp"
class DeltaCamera {
public:
DeltaVector3 pos;
DeltaVector2 angle;
DeltaCamera(float x, float y, float z);
DeltaVector2 projectPointVec(const DeltaVector3 &worldPos);
DeltaVector2 projectPoint(float worldX, float worldY, float worldZ);
};
#endif