Modify path visualization
This commit is contained in:
1 parent
542fc191fa
commit
53328484b8
14 files changed
+175
-41
No files matched your search
@@ -343,6 +343,8 @@ int main()
|
||||
guardedMover.velocity = {
|
||||
FRG::fp::from_raw_value(12345),
|
||||
FRG::fp::from_raw_value(-6789)};
|
||||
guardedMover.navigationOutcome =
|
||||
FRG::PathFinder::PathOutcome::NearestReachable;
|
||||
guardedMover.save(guardedJson);
|
||||
FRG::CharacterState restoredGuardedMover;
|
||||
restoredGuardedMover.load(guardedJson);
|
||||
@@ -351,7 +353,9 @@ int main()
|
||||
restoredGuardedMover.navigationRetryTicks !=
|
||||
guardedMover.navigationRetryTicks ||
|
||||
restoredGuardedMover.velocity.x.raw_value() != 12345 ||
|
||||
restoredGuardedMover.velocity.y.raw_value() != -6789) {
|
||||
restoredGuardedMover.velocity.y.raw_value() != -6789 ||
|
||||
restoredGuardedMover.navigationOutcome !=
|
||||
FRG::PathFinder::PathOutcome::NearestReachable) {
|
||||
return fail("Character velocity did not round trip");
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user