Skip to main content

PerspectiveCameraContext.ixx File

Camera projection parameters used by scene culling and rendering. More...

Included Headers

#include <cassert> #include <helios.math>

Namespaces Index

namespacehelios
namespaceengine
namespacescene
namespacetypes

Classes Index

structPerspectiveCameraContext

Immutable projection context for perspective-camera dependent operations. More...

Description

Camera projection parameters used by scene culling and rendering.

File Listing

The file content with the documentation metadata removed is:

1
5module;
6
7#include <cassert>
8
9export module helios.engine.scene.types.PerspectiveCameraContext;
10
11
12import helios.math;
13
14using namespace helios::math;
15
16export namespace helios::engine::scene::types {
17
22
28 const float aspectRatio_ = 1.0f;
29
35 const float zNear_ = 0.1f;
36
42 const float zFar_ = 1000.0f;
43
49 const float fovY_ = radians(90);
50
51
52 };
53
54}

Generated via doxygen2docusaurus 2.0.0 by Doxygen 1.9.8.