jGL
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
primitive.h File Reference
#include <glm/glm.hpp>
#include <array>
#include <iostream>
Include dependency graph for primitive.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  jGL::Primitive
 
struct  jGL::TexturedParticle
 Particle with a texture, with a position, orientation, and scale, colour, and texture region. More...
 
struct  jGL::Transform
 Position, rotation, and scale. More...
 
struct  jGL::TextureRegion
 Rectangular region of a texture in pixels. More...
 
struct  jGL::NormalisedTextureRegion
 Rectangular region of a texture, normalised by the textures dimensions. More...
 
struct  jGL::BoundingBox< T >
 A bounding box template. More...
 
class  jGL::WorldBoundingBox
 A world space bounding box. More...
 

Namespaces

namespace  jGL
 A drawable graphic.
 

Typedefs

typedef uint64_t jGL::RenderPriority
 Higher priority is drawn last.
 
typedef BoundingBox< uint16_t > jGL::ScreenBoundingBox
 A screen space bounding box.
 

Functions

std::ostream & operator<< (std::ostream &out, const jGL::ScreenBoundingBox &sbb)
 Prints each vertex on a new line.
 
std::ostream & operator<< (std::ostream &out, const jGL::WorldBoundingBox &wbb)
 Prints each vertex on a new line.
 

Function Documentation

◆ operator<<() [1/2]

std::ostream & operator<< ( std::ostream &  out,
const jGL::ScreenBoundingBox sbb 
)

Prints each vertex on a new line.

Parameters
out
sbb
Returns
std::ostream&

◆ operator<<() [2/2]

std::ostream & operator<< ( std::ostream &  out,
const jGL::WorldBoundingBox wbb 
)

Prints each vertex on a new line.

Parameters
out
wbb
Returns
std::ostream&