steering_behaviors 1.0.2 → 1.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Changelog for steering-behaviors
2
2
 
3
- ## 1.0.2, 31 July 2013
3
+ ## 1.0.3, 31 July 2013
4
4
  * Bugfixes in ortho/bside; cleanup of align/match
5
5
 
6
6
  ## 1.0.1, 31 July 2013
@@ -23,7 +23,6 @@ class SteeringBehaviors::Steering
23
23
  # Compute the new, proposed velocity vector.
24
24
  desired_velocity = kinematic.velocity_vec + (acceleration * delta)
25
25
 
26
- desired_velocity.truncate!(kinematic.speed) if !accelerative
27
26
  desired_velocity.truncate!(kinematic.max_speed)
28
27
 
29
28
  # If this timeslice's proposed velocity-vector exceeds the turn rate,
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: steering_behaviors
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 1.0.2
5
+ version: 1.0.3
6
6
  platform: ruby
7
7
  authors:
8
8
  - Chris Powell