mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-16 18:01:40 +00:00
Fix syntax error (missing parenthesis)
This commit is contained in:
parent
cd5fcd5c6c
commit
cf03296222
1 changed files with 2 additions and 2 deletions
|
@ -98,7 +98,7 @@ TEST_CASE("Test axis aligned collision with unit cube.", "[collision]")
|
||||||
|
|
||||||
SECTION("Given the box and the target do not overlap on the X or Y axes, "
|
SECTION("Given the box and the target do not overlap on the X or Y axes, "
|
||||||
"when the box moves away on the X axis, "
|
"when the box moves away on the X axis, "
|
||||||
"then they should never collide."
|
"then they should never collide.")
|
||||||
{
|
{
|
||||||
aabb3f m{bx-2.0f, by+1.5f, bz, bx-1.0f, by+2.5f, bz+1.0f};
|
aabb3f m{bx-2.0f, by+1.5f, bz, bx-1.0f, by+2.5f, bz+1.0f};
|
||||||
f32 dtime = 1.0f;
|
f32 dtime = 1.0f;
|
||||||
|
@ -138,7 +138,7 @@ TEST_CASE("Test axis aligned collision with unit cube.", "[collision]")
|
||||||
|
|
||||||
SECTION("Given the box and the target do not overlap on the X or Z axes, "
|
SECTION("Given the box and the target do not overlap on the X or Z axes, "
|
||||||
"when the box moves away on the X axis, "
|
"when the box moves away on the X axis, "
|
||||||
"then they should never collide."
|
"then they should never collide.")
|
||||||
{
|
{
|
||||||
aabb3f m{bx+2.0f, by, bz+1.5f, bx+3.0f, by+1.0f, bz+3.5f};
|
aabb3f m{bx+2.0f, by, bz+1.5f, bx+3.0f, by+1.0f, bz+3.5f};
|
||||||
f32 dtime = 1.0f;
|
f32 dtime = 1.0f;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue