Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Public Attributes | List of all members
jop::Camera::ProjectionData Union Reference

#include <Camera.hpp>

Public Attributes

struct {
   float   sizeX
 Orthographic projection width. More...
 
   float   sizeY
 Orthographic projection height. More...
 
orthographic
 
struct {
   float   fov
 The vertical field of view in radians. More...
 
   float   aspectRatio
 The aspect ratio. More...
 
perspective
 

Detailed Description

Union with the projection data

Definition at line 52 of file Camera.hpp.

Member Data Documentation

float jop::Camera::ProjectionData::aspectRatio

The aspect ratio.

Definition at line 63 of file Camera.hpp.

float jop::Camera::ProjectionData::fov

The vertical field of view in radians.

Definition at line 62 of file Camera.hpp.

struct { ... } jop::Camera::ProjectionData::orthographic
struct { ... } jop::Camera::ProjectionData::perspective
float jop::Camera::ProjectionData::sizeX

Orthographic projection width.

Definition at line 56 of file Camera.hpp.

float jop::Camera::ProjectionData::sizeY

Orthographic projection height.

Definition at line 57 of file Camera.hpp.


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