Gracefully handle 0 acceleration for walking targets #19
Reference in New Issue
Block a user
Delete Branch "aidan9382/strafe-project:walk-0-accel"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Fixes #18
@@ -116,6 +115,10 @@ impl TransientAcceleration{fn with_target_diff(target_diff:Planar64Vec3,accel:Planar64,time:Time)->Self{if target_diff==vec3::ZERO{TransientAcceleration::Reached}else if accel==0{Please use Planar64::ZERO instead of 0, 0 is implicitly converted to Planar64 for the comparison at run time.
my brain just assumed it was a static number for some reason