NGL  6.5
The NCCA Graphics Library
Vec2.h File Reference

a simple 2 tuple container for compatibility with glsl More...

#include "Types.h"
#include <array>
+ Include dependency graph for Vec2.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  ngl::Vec2
 simple Vec2 encapsulates a 3 float object like glsl Vec2 but not maths use the Vec2 class for maths and the asVec2 to return a Vec2 More...
 

Namespaces

 ngl
 implementation files for RibExport class
 

Functions

Vec2 ngl::operator* (Real _k, const Vec2 &_v) noexcept
 scalar * vector operator More...
 

Detailed Description

a simple 2 tuple container for compatibility with glsl

encapsulates a 2 float object like glsl Vec2 but not maths use the Vec2 class for maths and the asVec2 to return a Vec2

Author
Jonathan Macey
Version
1.0
Date
20/6/11 initial version Revision History : Initial Version 20/6/11

Definition in file Vec2.h.