Blender V5.0
BLI_math_matrix_test.cc File Reference
#include "testing/testing.h"
#include "BLI_array.hh"
#include "BLI_math_base.h"
#include "BLI_math_matrix.h"
#include "BLI_math_matrix.hh"
#include "BLI_math_rotation.h"
#include "BLI_math_rotation.hh"
#include "BLI_rand.hh"

Go to the source code of this file.

Namespaces

namespace  blender
namespace  blender::tests

Functions

 TEST (math_matrix, interp_m4_m4m4_regular)
 TEST (math_matrix, interp_m3_m3m3_singularity)
 TEST (math_matrix, mul_m3_series)
 TEST (math_matrix, mul_m4_series)
 blender::tests::TEST (math_matrix, MatrixInverse)
 blender::tests::TEST (math_matrix, MatrixPseudoInverse)
 blender::tests::TEST (math_matrix, MatrixDeterminant)
 blender::tests::TEST (math_matrix, MatrixAdjoint)
 blender::tests::TEST (math_matrix, MatrixAccess)
 blender::tests::TEST (math_matrix, MatrixInit)
 blender::tests::TEST (math_matrix, MatrixModify)
 blender::tests::TEST (math_matrix, MatrixCompareTest)
 blender::tests::TEST (math_matrix, MatrixMultiply)
 blender::tests::TEST (math_matrix, MatrixToNearestEuler)
 blender::tests::TEST (math_matrix, MatrixMethods)
 blender::tests::TEST (math_matrix, Transformation2DMatrixDecomposition)
 blender::tests::TEST (math_matrix, MatrixToQuaternionLegacy)
 blender::tests::TEST (math_matrix, MatrixTranspose)
 blender::tests::TEST (math_matrix, MatrixInterpolationRegular)
 blender::tests::TEST (math_matrix, MatrixInterpolationSingularity)
 blender::tests::TEST (math_matrix, MatrixTransform)
 blender::tests::TEST (math_matrix, MatrixTransform2D)
 blender::tests::TEST (math_matrix, MatrixProjection)
 blender::tests::TEST (math_matrix, ToQuaternionSafe)
static void blender::tests::transform_normals_test (const float3x3 &transform, const Span< float3 > normals)
 blender::tests::TEST (math_matrix, TransformNormals)

Function Documentation

◆ TEST() [1/4]

TEST ( math_matrix ,
interp_m3_m3m3_singularity  )

◆ TEST() [2/4]

TEST ( math_matrix ,
interp_m4_m4m4_regular  )

Definition at line 15 of file BLI_math_matrix_test.cc.

References e, interp_m4_m4m4(), result, transpose_m4(), and unit_m4().

◆ TEST() [3/4]

TEST ( math_matrix ,
mul_m3_series  )

Definition at line 109 of file BLI_math_matrix_test.cc.

References e, and mul_m3_series.

◆ TEST() [4/4]

TEST ( math_matrix ,
mul_m4_series  )

Definition at line 125 of file BLI_math_matrix_test.cc.

References e, and mul_m4_series.