MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / SetFOV

Method SetFOV

Source/Graphics/camera.cpp:363–365  ·  view source on GitHub ↗

Set the camera field of view

Source from the content-addressed store, hash-verified

361
362// Set the camera field of view
363void Camera::SetFOV(const float degrees) {
364 target_horz_fov = degrees;
365}
366
367void Camera::DrawSafeZone() {
368 PROFILER_GPU_ZONE(g_profiler_ctx, "DrawSafeZone");

Callers 3

DrawCubeMapMethod · 0.80
DrawImGuiCameraPreviewFunction · 0.80
AS_MetaCameraSetFOVFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected