Permalink
Browse files

More doubles and typed data

  • Loading branch information...
1 parent 1179402 commit 93b05e3374e1bd7d16f10ac941317a41ad81bfb0 @dominichamon committed Jun 4, 2013
Showing with 99,227 additions and 68,801 deletions.
  1. +1 −1 docs/0/box2d.json
  2. +4 −4 docs/box2d/AxisAlignedBox.html
  3. +70 −72 docs/box2d/Body.html
  4. +4 −4 docs/box2d/BodyDef.html
  5. +6 −6 docs/box2d/CircleShape.html
  6. +2 −2 docs/box2d/ClipVertex.html
  7. +8 −8 docs/box2d/Collision.html
  8. +8 −8 docs/box2d/ConstantVolumeJoint.html
  9. +6 −6 docs/box2d/ContactConstraint.html
  10. +6 −6 docs/box2d/ContactConstraintPoint.html
  11. +26 −26 docs/box2d/ContactSolver.html
  12. +4 −4 docs/box2d/Distance.html
  13. +22 −22 docs/box2d/DistanceJoint.html
  14. +4 −4 docs/box2d/DistanceOutput.html
  15. +2 −2 docs/box2d/DistanceProxy.html
  16. +10 −10 docs/box2d/DynamicTree.html
  17. +20 −20 docs/box2d/FrictionJoint.html
  18. +4 −4 docs/box2d/Island.html
  19. +4 −4 docs/box2d/Joint.html
  20. +4 −4 docs/box2d/Manifold.html
  21. +2 −2 docs/box2d/ManifoldPoint.html
  22. +2 −2 docs/box2d/MassData.html
  23. +11 −21 docs/box2d/Matrix22.html
  24. +12 −12 docs/box2d/Matrix33.html
  25. +38 −38 docs/box2d/PolygonShape.html
  26. +2 −2 docs/box2d/Position.html
  27. +14 −14 docs/box2d/PositionSolverManifold.html
  28. +42 −42 docs/box2d/RevoluteJoint.html
  29. +28 −28 docs/box2d/SeparationFunction.html
  30. +6 −6 docs/box2d/Settings.html
  31. +14 −14 docs/box2d/Simplex.html
  32. +6 −6 docs/box2d/SimplexVertex.html
  33. +6 −6 docs/box2d/Sweep.html
  34. +6 −6 docs/box2d/TimeOfImpactConstraint.html
  35. +8 −8 docs/box2d/TimeOfImpactSolver.html
  36. +14 −14 docs/box2d/TimeOfImpactSolverManifold.html
  37. +2 −2 docs/box2d/Transform.html
  38. +139 −69 docs/box2d/Vector.html
  39. +146 −67 docs/box2d/Vector3.html
  40. +2 −2 docs/box2d/Velocity.html
  41. +16 −16 docs/box2d/World.html
  42. +8 −8 docs/box2d/WorldManifold.html
  43. +1 −1 docs/nav.json
  44. +2 −2 example/benchmarks/benchmark.dart
  45. +0 −1 example/benchmarks/benchmark_runner.dart
  46. +1 −1 example/benchmarks/domino_platform_bench.dart
  47. +10,393 −7,365 example/demos/ball_cage.dart.js
  48. +13,553 −9,003 example/demos/blob_test.dart.js
  49. +1 −1 example/demos/box_test.dart
  50. +10,601 −7,612 example/demos/box_test.dart.js
  51. +13,656 −9,056 example/demos/circle_stress.dart.js
  52. +1 −1 example/demos/domino_test.dart
  53. +10,519 −7,602 example/demos/domino_test.dart.js
  54. +1 −1 example/demos/domino_tower.dart
  55. +10,598 −7,623 example/demos/domino_tower.dart.js
  56. +1 −1 example/demos/friction_joint_test.dart
  57. +13,516 −8,990 example/demos/friction_joint_test.dart.js
  58. +1 −1 example/demos/racer/car.dart
  59. +3 −3 example/demos/racer/racer.dart
  60. +15,307 −10,628 example/demos/racer/racer.dart.js
  61. +1 −0 lib/box2d.dart
  62. +2 −2 lib/src/collision/axis_aligned_box.dart
  63. +5 −5 lib/src/collision/broadphase/dynamic_tree.dart
  64. +9 −9 lib/src/collision/collision.dart
  65. +4 −4 lib/src/collision/distance.dart
  66. +2 −2 lib/src/collision/distance_output.dart
  67. +1 −1 lib/src/collision/distance_proxy.dart
  68. +2 −2 lib/src/collision/manifold.dart
  69. +2 −2 lib/src/collision/manifold_point.dart
  70. +3 −4 lib/src/collision/shapes/circle_shape.dart
  71. +1 −1 lib/src/collision/shapes/mass_data.dart
  72. +18 −18 lib/src/collision/shapes/polygon_shape.dart
  73. +7 −7 lib/src/collision/simplex.dart
  74. +3 −3 lib/src/collision/simplex_vertex.dart
  75. +14 −14 lib/src/collision/time_of_impact.dart
  76. +4 −4 lib/src/collision/world_manifold.dart
  77. +4 −9 lib/src/common/matrix22.dart
  78. +6 −6 lib/src/common/matrix33.dart
  79. +2 −2 lib/src/common/settings.dart
  80. +3 −3 lib/src/common/sweep.dart
  81. +1 −1 lib/src/common/transform.dart
  82. +52 −35 lib/src/common/vector2.dart
  83. +49 −34 lib/src/common/vector3.dart
  84. +31 −32 lib/src/dynamics/body.dart
  85. +2 −2 lib/src/dynamics/body_def.dart
  86. +3 −3 lib/src/dynamics/contacts/contact_constraint.dart
  87. +3 −3 lib/src/dynamics/contacts/contact_constraint_point.dart
  88. +20 −20 lib/src/dynamics/contacts/contact_solver.dart
  89. +3 −3 lib/src/dynamics/contacts/time_of_impact_constraint.dart
  90. +11 −11 lib/src/dynamics/contacts/time_of_impact_solver.dart
  91. +5 −5 lib/src/dynamics/island.dart
  92. +4 −4 lib/src/dynamics/joints/constant_volume_joint.dart
  93. +11 −11 lib/src/dynamics/joints/distance_joint.dart
  94. +13 −13 lib/src/dynamics/joints/friction_joint.dart
  95. +3 −3 lib/src/dynamics/joints/joint.dart
  96. +21 −21 lib/src/dynamics/joints/revolute_joint.dart
  97. +8 −8 lib/src/dynamics/world.dart
View
Oops, something went wrong.
@@ -45,8 +45,8 @@
* are specified, constructs the box with both bounds at the origin.
*/
AxisAlignedBox([this.lowerBound = null, this.upperBound = null]) {
- if (lowerBound == null) lowerBound = new Vector();
- if (upperBound == null) upperBound = new Vector();
+ if (lowerBound == null) lowerBound = new Vector.zero();
+ if (upperBound == null) upperBound = new Vector.zero();
}
/**
@@ -132,8 +132,8 @@
are specified, constructs the box with both bounds at the origin.</p>
<pre class="source">
AxisAlignedBox([this.lowerBound = null, this.upperBound = null]) {
- if (lowerBound == null) lowerBound = new Vector();
- if (upperBound == null) upperBound = new Vector();
+ if (lowerBound == null) lowerBound = new Vector.zero();
+ if (upperBound == null) upperBound = new Vector.zero();
}
</pre>
</div>
Oops, something went wrong.

0 comments on commit 93b05e3

Please sign in to comment.