| D | transform2.inl | 50 GLM_FUNC_QUALIFIER tmat3x3<T, P> reflect2D(tmat3x3<T, P> const& m, tvec3<T, P> const& normal) argument 53 r[0][0] = static_cast<T>(1) - static_cast<T>(2) * normal.x * normal.x; 54 r[0][1] = -static_cast<T>(2) * normal.x * normal.y; 55 r[1][0] = -static_cast<T>(2) * normal.x * normal.y; 56 r[1][1] = static_cast<T>(1) - static_cast<T>(2) * normal.y * normal.y; 61 GLM_FUNC_QUALIFIER tmat4x4<T, P> reflect3D(tmat4x4<T, P> const& m, tvec3<T, P> const& normal) argument 64 r[0][0] = static_cast<T>(1) - static_cast<T>(2) * normal.x * normal.x; 65 r[0][1] = -static_cast<T>(2) * normal.x * normal.y; 66 r[0][2] = -static_cast<T>(2) * normal.x * normal.z; 68 r[1][0] = -static_cast<T>(2) * normal.x * normal.y; [all …]
|