VisuTwin Canvas
C++ 3D Engine — Metal Backend
Loading...
Searching...
No Matches
frustumUtils.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 09.02.2026.
5//
6#pragma once
7
9
10namespace visutwin::canvas
11{
12 class Camera;
13 class GraphNode;
14
15 // Returns true when an AABB intersects or is inside the camera frustum.
16 bool isVisibleInCameraFrustum(Camera* camera, GraphNode* cameraNode, const BoundingBox& bounds);
17}
Axis-Aligned Bounding Box defined by center and half-extents.
Definition boundingBox.h:21
Perspective or orthographic camera with projection matrix, jitter (TAA), and render target binding.
Definition camera.h:40
Hierarchical scene graph node with local/world transforms and parent-child relationships.
Definition graphNode.h:28
bool isVisibleInCameraFrustum(Camera *camera, GraphNode *cameraNode, const BoundingBox &bounds)