JNGL
Namespaces | Functions
matrix.hpp File Reference

Functions related to the global ModelView matrix. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 jngl
 JNGL's main namespace.
 

Functions

void rotate (double degree)
 Multiplies the global ModelView matrix with a rotation matrix.
 
void translate (double x, double y)
 Multiplies the global ModelView matrix with a translation matrix.
 
template<class Vect >
void translate (Vect v)
 Multiplies the global ModelView matrix with a translation matrix. More...
 
void scale (double factor)
 Multiplies the global ModelView matrix by a scaling matrix. More...
 
void scale (double xfactor, double yfactor)
 Multiplies the global ModelView matrix by a scaling matrix.
 
void pushMatrix ()
 Pushes the current ModelView matrix on a global stack.
 
void popMatrix ()
 Replaces the current ModelView matrix with the top element of the global stack.
 
void reset ()
 Resets the global ModelView matrix to the identity matrix.
 

Detailed Description

Functions related to the global ModelView matrix.

Definition in file matrix.hpp.