#include <glsl_math.h>
Inheritance diagram for gslib::glsl_math::tuple_mixin< SubClass, Size >:
Public Member Functions | |
SubClass & | operator+= (const tuple< Size > &other) |
SubClass | operator+ (const tuple< Size > &other) const |
SubClass & | operator-= (const tuple< Size > &other) |
SubClass | operator- (const tuple< Size > &other) const |
SubClass & | operator *= (value_type v) |
SubClass | operator * (value_type v) const |
SubClass & | operator/= (value_type v) |
SubClass | operator/ (value_type v) const |
SubClass & | operator+ () const |
SubClass | operator- () const |
bool | operator< (const tuple< Size > &other) const |
bool | operator== (const tuple< Size > &other) const |
bool | operator!= (const tuple< Size > &other) const |
Friends | |
SubClass | operator * (value_type v, const tuple_mixin &other) |
Definition at line 186 of file glsl_math.h.
|
Reimplemented in gslib::glsl_math::vector_mixin< SubClass, Size >, gslib::glsl_math::matrix_mixin< SubClass, FriendVector, RowSize, ColumnSize >, gslib::glsl_math::quat, gslib::glsl_math::vector_mixin< vec2, 2 >, gslib::glsl_math::vector_mixin< vec3, 3 >, gslib::glsl_math::vector_mixin< vec4, 4 >, gslib::glsl_math::matrix_mixin< mat4, vec4, 4, 4 >, gslib::glsl_math::matrix_mixin< mat3, vec3, 3, 3 >, and gslib::glsl_math::matrix_mixin< mat2, vec2, 2, 2 >. Definition at line 212 of file glsl_math.h.
00212 { 00213 SubClass result( *static_cast< const SubClass* >( this ) ); 00214 result *= v; 00215 return result; 00216 } |
|
|
Definition at line 240 of file glsl_math.h.
00240 { 00241 return !operator == ( other ); 00242 } |
|
Definition at line 226 of file glsl_math.h.
00226 { 00227 return *static_cast< SubClass* >( this ); 00228 } |
|
Definition at line 192 of file glsl_math.h.
00192 { 00193 SubClass result( *static_cast< const SubClass* >( this ) ); 00194 result += other; 00195 return result; 00196 } |
|
Definition at line 187 of file glsl_math.h.
|
|
Definition at line 229 of file glsl_math.h.
|
|
Definition at line 202 of file glsl_math.h.
00202 { 00203 SubClass result( *static_cast< const SubClass* >( this ) ); 00204 result -= other; 00205 return result; 00206 } |
|
Definition at line 197 of file glsl_math.h.
|
|
Reimplemented in gslib::glsl_math::vector_mixin< SubClass, Size >, gslib::glsl_math::matrix_mixin< SubClass, FriendVector, RowSize, ColumnSize >, gslib::glsl_math::quat, gslib::glsl_math::vector_mixin< vec2, 2 >, gslib::glsl_math::vector_mixin< vec3, 3 >, gslib::glsl_math::vector_mixin< vec4, 4 >, gslib::glsl_math::matrix_mixin< mat4, vec4, 4, 4 >, gslib::glsl_math::matrix_mixin< mat3, vec3, 3, 3 >, and gslib::glsl_math::matrix_mixin< mat2, vec2, 2, 2 >. Definition at line 223 of file glsl_math.h.
00223 {
00224 return ( *this ) * ( 1.0f / v );
00225 }
|
|
Reimplemented in gslib::glsl_math::vector_mixin< SubClass, Size >, gslib::glsl_math::matrix_mixin< SubClass, FriendVector, RowSize, ColumnSize >, gslib::glsl_math::quat, gslib::glsl_math::vector_mixin< vec2, 2 >, gslib::glsl_math::vector_mixin< vec3, 3 >, gslib::glsl_math::vector_mixin< vec4, 4 >, gslib::glsl_math::matrix_mixin< mat4, vec4, 4, 4 >, gslib::glsl_math::matrix_mixin< mat3, vec3, 3, 3 >, and gslib::glsl_math::matrix_mixin< mat2, vec2, 2, 2 >. Definition at line 220 of file glsl_math.h.
00220 { 00221 return operator *= ( 1.0f / v ); 00222 } |
|
Definition at line 234 of file glsl_math.h.
|
|
Definition at line 237 of file glsl_math.h. Referenced by gslib::glsl_math::tuple_mixin< vec4, Size >::operator!=().
|
|
Definition at line 217 of file glsl_math.h.
00217 {
00218 return other * v;
00219 }
|