VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
lightCamera.h
Go to the documentation of this file.
1// SPDX-License-Identifier: Apache-2.0
2// Copyright 2025-2026 Arnis Lektauers
3//
4// Created by Arnis Lektauers on 04.10.2025.
5//
6#pragma once
7
8#include "scene/camera.h"
9#include "scene/constants.h"
10
11namespace visutwin::canvas
12{
14 {
15 public:
16 // Camera rotation angles used when rendering cubemap faces
18
19 static Camera* create(const std::string& name, LightType lightType, int face = 0);
20 };
21}
Perspective or orthographic camera with projection matrix, jitter (TAA), and render target binding.
Definition camera.h:40
static Quaternion pointLightRotations[6]
Definition lightCamera.h:17
static Camera * create(const std::string &name, LightType lightType, int face=0)
Unit quaternion for rotation representation with SIMD-accelerated slerp and multiply.
Definition quaternion.h:20