add a testing camera fps (switching cameras by pressing t)
All checks were successful
Linux arm64 / Build (push) Successful in 57s

This commit is contained in:
Morph01
2024-08-13 10:10:31 +02:00
parent d59047d0ae
commit 4707d85150
4 changed files with 82 additions and 56 deletions

View File

@@ -1,9 +1,9 @@
#pragma once
#include <godot_cpp/classes/camera3d.hpp>
#include <godot_cpp/classes/input_event.hpp>
#include <godot_cpp/classes/node3d.hpp>
#include <godot_cpp/classes/spring_arm3d.hpp>
#include <godot_cpp/classes/camera3d.hpp>
namespace blitz {
class SpringArmPivot : public godot::Node3D {
@@ -32,6 +32,7 @@ class SpringArmPivot : public godot::Node3D {
private:
godot::SpringArm3D* m_SpringArm;
godot::Camera3D* m_Camera;
godot::Camera3D* m_CameraFPS;
bool m_DynamicFOV = false;
};