vector4 distance_squared_to and update csharp
This commit is contained in:
parent
7355dfb502
commit
40a1d6d100
6 changed files with 125 additions and 6 deletions
|
|
@ -98,6 +98,9 @@ TEST_CASE("[Vector4] Length methods") {
|
|||
CHECK_MESSAGE(
|
||||
Math::is_equal_approx(vector1.distance_to(vector2), (real_t)54.772255750517),
|
||||
"Vector4 distance_to should work as expected.");
|
||||
CHECK_MESSAGE(
|
||||
Math::is_equal_approx(vector1.distance_squared_to(vector2), 3000),
|
||||
"Vector4 distance_squared_to should work as expected.");
|
||||
}
|
||||
|
||||
TEST_CASE("[Vector4] Limiting methods") {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue