36 #include "../api_core.h"
39 #include "../System/cl_platform.h"
41 template<
typename Type>
44 template<
typename Type>
47 template<
typename Type>
56 template<
typename Type>
69 for (
int i=0; i<9; i++)
82 for (
int i=0; i<9; i++)
83 matrix[i] = (Type) init_matrix[i];
87 CL_Mat3(Type m00, Type m01, Type m02, Type m10, Type m11, Type m12, Type m20, Type m21, Type m22)
97 for (
int i=0; i<9; i++)
98 matrix[i] = (Type) init_matrix[i];
104 for (
int i=0; i<9; i++)
105 matrix[i] = (Type) init_matrix[i];
111 for (
int i=0; i<9; i++)
112 matrix[i] = (Type) init_matrix[i];
118 for (
int i=0; i<9; i++)
119 matrix[i] = (Type) init_matrix[i];
125 for (
int i=0; i<9; i++)
126 matrix[i] = (Type) init_matrix[i];
253 operator Type
const*()
const {
return matrix; }
291 for (
int i=0; i<9; i++)