From ce45c560586f991b427471ba206edf48881baab5 Mon Sep 17 00:00:00 2001 From: TravisBot <> Date: Fri, 22 Sep 2017 00:09:02 +0000 Subject: Rebuilding documentation --- namespaceyage.html | 598 ++++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 593 insertions(+), 5 deletions(-) (limited to 'namespaceyage.html') diff --git a/namespaceyage.html b/namespaceyage.html index baa02bab..fcc3195d 100644 --- a/namespaceyage.html +++ b/namespaceyage.html @@ -46,8 +46,10 @@ var searchBox = new SearchBox("searchBox", "search",false,'Search'); + All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
@@ -102,26 +105,611 @@ $(document).ready(function(){initNavTree('namespaceyage.html','');});
+Namespaces | +Classes | +Typedefs | +Enumerations | +Functions
yage Namespace Reference
+ +

Project namespace. +More...

+ + + + + + +

+Namespaces

 details
 
 matrix
 Namespace containing functions that operate on matrices.
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - + + + + + + + + + + + + + + + + + + +

Classes

class  Camera2D
 
class  GlslProgram
 
class  ImageLoader
 
class  InputManager
 
class  IoManager
 
class  ResourceManager
 
class  Sprite
 
class  Glyph
 Glyph with information of the texture. More...
 
class  RenderBatch
 
class  SpriteBatch
 
class  SpriteSheet
 
struct  Texture
 
class  TextureCache
 
struct  Position
 
struct  Color
 
struct  UV
 
struct  Vertex
 
class  Window
 
class  Matrix
 

Matrix Class

- More...
 Base Matrix class used by other similar classes. More...
 
class  Vector
 
class  Vector2
 2D Vector class. More...
 
class  Body
 
class  Collider
 
class  CollisionBody
 
class  ParticleBody
 
class  RectangleCollider
 
class  RigidBody
 
+ + + + +

+Typedefs

using Vector2d = Vector2< double >
 Definition of a 2D vector. More...
 
+ + + +

+Enumerations

enum  WindowFlags : unsigned { SHOWN = 0x1, +HIDDEN = 0x2, +FULLSCREEN = 0x4, +BORDERLESS = 0x8 + }
 
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

+Functions

int decodePNG (std::vector< unsigned char > &out_image, unsigned long &image_width, unsigned long &image_height, const unsigned char *in_png, size_t in_size, bool convert_to_rgba32)
 
template<int M, int N, class T >
Matrix< M, N, T > operator+ (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator- (Matrix< M, N, T > lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator+ (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator+ (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator- (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator- (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator* (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator* (const T &lhs, Matrix< M, N, T > rhs)
 
template<int M, int N, class T >
Matrix< M, N, T > operator/ (Matrix< M, N, T > lhs, const T &rhs)
 
template<int M, int N, class T >
bool operator== (const Matrix< M, N, T > &lhs, const Matrix< M, N, T > &rhs)
 
template<int M, int N, class T >
std::ostream & operator<< (std::ostream &os, const Matrix< M, N, T > &mat)
 
void glfwErrorCallback (int, const char *description)
 
void init ()
 Initializes yage. More...
 
void quit ()
 Quit and cleanup yage. More...
 
+

Detailed Description

+

Avoids collision as all the classes and global functions are wrapped in. it.

+

Typedef Documentation

+ +
+
+ + + + +
using yage::Vector2d = typedef Vector2<double>
+
+ +
+
+

Enumeration Type Documentation

+ +
+
+ + + + +
enum yage::WindowFlags : unsigned
+
+ + + + +
Enumerator
SHOWN  +
HIDDEN  +
FULLSCREEN  +
BORDERLESS  +
+ +
+
+

Function Documentation

+ +
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
int yage::decodePNG (std::vector< unsigned char > & out_image,
unsigned long & image_width,
unsigned long & image_height,
const unsigned char * in_png,
size_t in_size,
bool convert_to_rgba32 
)
+
+ +
+
+ +
+
+ + + + + + + + + + + + + + + + + + +
void yage::glfwErrorCallback (int ,
const char * description 
)
+
+ +
+
+ +
+
+ + + + + + + +
void yage::init ()
+
+

This is only there to initialize glfw.

+
Returns
Returns true if the initialization was successful.
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator* (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator* (const T & lhs,
Matrix< M, N, T > rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator+ (Matrix< M, N, T > lhs,
const Matrix< M, N, T > & rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator+ (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator+ (const T & lhs,
Matrix< M, N, T > rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator- (Matrix< M, N, T > lhs,
const Matrix< M, N, T > & rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator- (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator- (const T & lhs,
Matrix< M, N, T > rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
Matrix<M, N, T> yage::operator/ (Matrix< M, N, T > lhs,
const T & rhs 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
std::ostream& yage::operator<< (std::ostream & os,
const Matrix< M, N, T > & mat 
)
+
+ +
+
+ +
+
+
+template<int M, int N, class T >
+ + + + + + + + + + + + + + + + + + +
bool yage::operator== (const Matrix< M, N, T > & lhs,
const Matrix< M, N, T > & rhs 
)
+
+ +
+
+ +
+
+ + + + + + + +
void yage::quit ()
+
+

glfw needs to clean itself up.

+ +
+