Subversion Repositories gelsvn

Rev

Rev 462 | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 462 Rev 595
-
 
1
/* ----------------------------------------------------------------------- *
-
 
2
 * This file is part of GEL, http://www.imm.dtu.dk/GEL
-
 
3
 * Copyright (C) the authors and DTU Informatics
-
 
4
 * For license and list of authors, see ../../doc/intro.pdf
-
 
5
 * @brief Abstract 4D integer vector class
-
 
6
 * ----------------------------------------------------------------------- */
-
 
7
 
-
 
8
/** @file ArithVec4Int.h
-
 
9
 * @brief Abstract 4D integer vector class
-
 
10
 */
-
 
11
 
1
#ifndef __CGLA__ARITHVEC4INT_H__
12
#ifndef __CGLA__ARITHVEC4INT_H__
2
#define __CGLA__ARITHVEC4INT_H__
13
#define __CGLA__ARITHVEC4INT_H__
3
 
14
 
4
#include "ArithVecInt.h"
15
#include "ArithVecInt.h"
5
 
16
 
6
namespace CGLA {
17
namespace CGLA {
7
 
18
 
8
	template<class T, class V>
19
	template<class T, class V>
9
	class ArithVec4Int: public ArithVecInt<T,V,4>
20
	class ArithVec4Int: public ArithVecInt<T,V,4>
10
	{
21
	{
11
	public:
22
	public:
12
 
23
 
13
		/// Construct a 4D int vector.
24
		/// Construct a 4D int vector.
14
		ArithVec4Int(T a, T b, T c, T d): ArithVecInt<T,V,4>(a,b,c,d) {}
25
		ArithVec4Int(T a, T b, T c, T d): ArithVecInt<T,V,4>(a,b,c,d) {}
15
 
26
 
16
		/// Construct a 4D int vector.
27
		/// Construct a 4D int vector.
17
		ArithVec4Int() {}
28
		ArithVec4Int() {}
18
		
29
		
19
	};
30
	};
20
}
31
}
21
 
32
 
22
#endif
33
#endif
23
 
34
 
24
 
35