/* # ______ ____ ___ # | \/ ____| |___| # | | | \ | | #----------------------------------------------------------------------- # Copyright 2020, tyra - https://github.com/h4570/tyra # Licenced under Apache License 2.0 # Sandro Sobczyński */ #ifndef _TYRA_RENDER_DATA_ #define _TYRA_RENDER_DATA_ #include "light_bulb.hpp" #include #include "math/matrix.hpp" #include "math/plane.hpp" struct RenderData { LightBulb *bulbs; u16 bulbsCount; /** * Camera matrix (glLookAt) * OpenGL name: View * Sony name: World view */ Matrix *view; /** * Projection matrix (glPerspective) * OpenGL name: Projection * Sony name: View screen */ Matrix *projection; Vector3 *cameraPosition; Plane *frustumPlanes; prim_t *prim; }; #endif