109 if (
abs(
dot(mat[0], mat[1])) > 1e-5f) {
112 if (
abs(
dot(mat[1], mat[2])) > 1e-5f) {
115 if (
abs(
dot(mat[2], mat[0])) > 1e-5f) {
136 if (
abs(
dot(mat[0], mat[0]) - 1.0f) > 1e-5f) {
139 if (
abs(
dot(mat[1], mat[1]) - 1.0f) > 1e-5f) {
142 if (
abs(
dot(mat[2], mat[2]) - 1.0f) > 1e-5f) {
163 constexpr float eps = 1e-7f;
164 float x =
dot(mat[0], mat[0]);
165 float y =
dot(mat[1], mat[1]);
166 float z =
dot(mat[2], mat[2]);
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
b[1] b &&[1] b &&[1] b &&[1] b &&[1] b[3] b &&[1] b[3] float determinant(MatBase< C, R >) RET
float dot(VecOp< float, D >, VecOp< float, D >) RET
bool is_equal(float a, float b, const float epsilon)
bool is_unit_scale(float4x4 m)
bool is_orthogonal(float3x3 mat)
bool is_uniformly_scaled(float3x3 mat)
bool is_negative(float3x3 mat)
bool is_orthonormal(float3x3 mat)
MatBase< float, 2, 2 > float2x2
MatBase< float, 4, 4 > float4x4