TinyGPU
Loading...
Searching...
No Matches
Public Attributes | List of all members
WireFrame3D< RGB_T >::Camera Struct Reference

Stores camera parameters for view transformation. More...

#include <WireFrame3D.h>

Collaboration diagram for WireFrame3D< RGB_T >::Camera:
Collaboration graph
[legend]

Public Attributes

Vec3 position {0.0f, 0.0f, 5.0f}
 
Vec3 target {0.0f, 0.0f, 0.0f}
 
Vec3 up {0.0f, 1.0f, 0.0f}
 
float nearPlane = 0.1f
 
float farPlane = 100.0f
 

Detailed Description

template<typename RGB_T = RGB565>
struct tinygpu::WireFrame3D< RGB_T >::Camera

Stores camera parameters for view transformation.

Member Data Documentation

◆ farPlane

float farPlane = 100.0f

◆ nearPlane

float nearPlane = 0.1f

◆ position

Vec3 position {0.0f, 0.0f, 5.0f}

◆ target

Vec3 target {0.0f, 0.0f, 0.0f}

◆ up

Vec3 up {0.0f, 1.0f, 0.0f}

The documentation for this struct was generated from the following file: