OGLplus (0.52.0) a C++ wrapper for OpenGL

vector.hpp File Reference

A vector class. More...

#include <oglplus/config/compiler.hpp>
#include <oglplus/utils/nothing.hpp>
#include <oglplus/fwd.hpp>
#include <cassert>
#include <cmath>
#include <cstddef>
#include <algorithm>
#include <type_traits>
#include <oglplus/math/vector_1.ipp>
#include <oglplus/math/vector_2.ipp>
#include <oglplus/math/vector_3.ipp>
#include <oglplus/math/vector_4.ipp>
#include <oglplus/math/vector_n.ipp>
#include <oglplus/math/vector_swizzle.ipp>

Go to the source code of this file.

Classes

class  oglplus::Matrix< T, Rows, Cols >
 Base template for Matrix. More...
 
class  oglplus::Vector< T, N >
 Basic template for vector types. More...
 
class  oglplus::VectorBase< T, N >
 Common base class for vectors. More...
 
class  oglplus::Vector< T, 1 >
 
class  oglplus::Vector< T, 2 >
 
class  oglplus::Vector< T, 3 >
 
class  oglplus::Vector< T, 4 >
 
class  oglplus::Vector< T, N >
 Basic template for vector types. More...
 

Namespaces

 oglplus
 All definitions of OGLplus are nested in the oglplus namespace.
 

Typedefs

typedef Vector< GLint, 1 > oglplus::Vec1i
 1D int (degenerate) vector
 
typedef Vector< GLint, 2 > oglplus::Vec2i
 2D int vector
 
typedef Vector< GLint, 3 > oglplus::Vec3i
 3D int vector
 
typedef Vector< GLint, 4 > oglplus::Vec4i
 4D int vector
 
typedef Vector< GLfloat, 1 > oglplus::Vec1f
 1D float (degenerate) vector
 
typedef Vector< GLfloat, 2 > oglplus::Vec2f
 2D float vector
 
typedef Vector< GLfloat, 3 > oglplus::Vec3f
 3D float vector
 
typedef Vector< GLfloat, 4 > oglplus::Vec4f
 4D float vector
 
typedef Vector< GLdouble, 1 > oglplus::Vec1d
 1D double-precision (degenerate) vector
 
typedef Vector< GLdouble, 2 > oglplus::Vec2d
 2D double-precision vector
 
typedef Vector< GLdouble, 3 > oglplus::Vec3d
 3D double-precision vector
 
typedef Vector< GLdouble, 4 > oglplus::Vec4d
 4D double-precision vector
 

Detailed Description

A vector class.

Author
Matus Chochlik

Copyright 2010-2014 Matus Chochlik. Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)


Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).