Skip to content

Commit

Permalink
Added initial zero value to body.boundingRadius schteppe#282
Browse files Browse the repository at this point in the history
  • Loading branch information
schteppe committed May 3, 2016
1 parent c7d1603 commit 569730f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/objects/Body.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,6 +363,13 @@ function Body(options){
*/
this.aabbNeedsUpdate = true;

/**
* Total bounding radius of the Body including its shapes, relative to body.position.
* @property boundingRadius
* @type {Number}
*/
this.boundingRadius = 0;

this.wlambda = new Vec3();

if(options.shape){
Expand Down

0 comments on commit 569730f

Please sign in to comment.