|
Blender V5.3
|
#include "util/math_float3x3.h"#include <gmock/gmock.h>#include <gtest/gtest.h>#include "util/log.h"#include "util/transform.h"#include <iostream>Go to the source code of this file.
Classes | |
| class | Float3x3Test |
| class | PackedFloat3x3Test |
Functions | |
| MATCHER_P2 (IsNearFloat3, expected, eps, "") | |
| MATCHER_P2 (IsNearFloat3x3, expected, eps, "") | |
| std::ostream & | operator<< (std::ostream &os, const float3x3 &m) |
| TEST_F (Float3x3Test, IsNearFloat3x3) | |
| TEST_F (Float3x3Test, multiply_scalar_by_matrix) | |
| TEST_F (Float3x3Test, multiply_matrix_by_scalar) | |
| TEST_F (Float3x3Test, multiply_matrix_by_matrix) | |
| TEST_F (Float3x3Test, multiply_matrix_by_vector) | |
| TEST_F (Float3x3Test, divide_matrix_by_scalar) | |
| TEST_F (Float3x3Test, float3x3_scale) | |
| TEST_F (Float3x3Test, transposed) | |
| TEST_F (Float3x3Test, determinant) | |
| TEST_F (Float3x3Test, adjoint) | |
| TEST_F (Float3x3Test, inverted) | |
| TEST_F (Float3x3Test, quaternion_to_scaled_rotation) | |
| TEST_F (Float3x3Test, quaternion_to_rotation) | |
| TEST_F (PackedFloat3x3Test, init_from_float3x3) | |
| TEST_F (PackedFloat3x3Test, cast_to_float3x3) | |
| TEST_F (PackedFloat3x3Test, assign_from_float3x3) | |
| MATCHER_P2 | ( | IsNearFloat3 | , |
| expected | , | ||
| eps | , | ||
| "" | ) |
Definition at line 26 of file util_math_float3x3_test.cpp.
References eps, fabsf, and MATCHER_P2().
Referenced by MATCHER_P2(), MATCHER_P2(), and MATCHER_P2().
| MATCHER_P2 | ( | IsNearFloat3x3 | , |
| expected | , | ||
| eps | , | ||
| "" | ) |
Definition at line 41 of file util_math_float3x3_test.cpp.
References eps, fabsf, and MATCHER_P2().
| std::ostream & operator<< | ( | std::ostream & | os, |
| const float3x3 & | m ) |
Definition at line 56 of file util_math_float3x3_test.cpp.
References operator<<(), float3x3::x, float3x3::y, and float3x3::z.
| TEST_F | ( | Float3x3Test | , |
| adjoint | ) |
Definition at line 202 of file util_math_float3x3_test.cpp.
References adjoint(), make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| determinant | ) |
Definition at line 189 of file util_math_float3x3_test.cpp.
References determinant(), EXPECT_NEAR, make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| divide_matrix_by_scalar | ) |
Definition at line 151 of file util_math_float3x3_test.cpp.
References make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| float3x3_scale | ) |
Definition at line 169 of file util_math_float3x3_test.cpp.
References float3x3_scale(), make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| inverted | ) |
Definition at line 213 of file util_math_float3x3_test.cpp.
References identity_float3x3(), inverted(), make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| IsNearFloat3x3 | ) |
Definition at line 72 of file util_math_float3x3_test.cpp.
References identity_float3x3(), TEST_F(), and zero_float3x3().
| TEST_F | ( | Float3x3Test | , |
| multiply_matrix_by_matrix | ) |
Definition at line 116 of file util_math_float3x3_test.cpp.
References make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| multiply_matrix_by_scalar | ) |
Definition at line 98 of file util_math_float3x3_test.cpp.
References make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| multiply_matrix_by_vector | ) |
Definition at line 137 of file util_math_float3x3_test.cpp.
References make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| multiply_scalar_by_matrix | ) |
Definition at line 81 of file util_math_float3x3_test.cpp.
References make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| quaternion_to_rotation | ) |
Definition at line 242 of file util_math_float3x3_test.cpp.
References cosf, M_PI_F, make_float3(), make_float3x3(), make_quaternion(), quaternion_to_rotation(), R, sinf, TEST_F(), transform_euler(), transform_to_quat(), float4::w, float4::x, Transform::x, float4::y, Transform::y, float4::z, and Transform::z.
| TEST_F | ( | Float3x3Test | , |
| quaternion_to_scaled_rotation | ) |
Definition at line 232 of file util_math_float3x3_test.cpp.
References cosf, M_PI_F, make_float3(), make_float3x3(), make_quaternion(), quaternion_to_scaled_rotation(), sinf, and TEST_F().
| TEST_F | ( | Float3x3Test | , |
| transposed | ) |
Definition at line 178 of file util_math_float3x3_test.cpp.
References make_float3(), make_float3x3(), TEST_F(), and transposed().
| TEST_F | ( | PackedFloat3x3Test | , |
| assign_from_float3x3 | ) |
Definition at line 307 of file util_math_float3x3_test.cpp.
References identity_float3x3(), make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | PackedFloat3x3Test | , |
| cast_to_float3x3 | ) |
Definition at line 294 of file util_math_float3x3_test.cpp.
References make_float3(), make_float3x3(), and TEST_F().
| TEST_F | ( | PackedFloat3x3Test | , |
| init_from_float3x3 | ) |
Definition at line 276 of file util_math_float3x3_test.cpp.
References EXPECT_NEAR, make_float3(), make_float3x3(), TEST_F(), packed_float3::x, packed_float3x3::x, packed_float3::y, packed_float3x3::y, packed_float3::z, and packed_float3x3::z.