1 #ifndef RAYLIB_CPP_CAMERA3D_HPP_
2 #define RAYLIB_CPP_CAMERA3D_HPP_
12 #include "./Vector3.hpp"
13 #include "./raylib-cpp-utils.hpp"
19 position = positionValue;
31 GETTERSETTER(
float,Fovy,fovy)
32 GETTERSETTER(
int,Type,type)
44 inline void set(const ::Camera3D& camera) {
45 position = camera.position;
46 target = camera.target;
53 position = camera.position;
54 target = camera.target;
70 return ::GetCameraMatrix(*
this);
74 ::SetCameraMode(*
this, mode);
79 ::SetCameraAltControl(altKey);
84 ::SetCameraSmoothZoomControl(szKey);
89 ::SetCameraMoveControls(frontKey, backKey, rightKey, leftKey, upKey, downKey);
104 return ::GetMouseRay(mousePosition, *
this);
108 return ::GetWorldToScreen(position, *
this);
117 ::DrawBillboardRec(*
this, texture, sourceRec, center, size, tint);