コード例 #1
0
ファイル: B2Shape.cs プロジェクト: kenneyw/SaltarelleBox2dWeb
 /// <summary>
 /// Given a transform, compute the associated axis aligned bounding box for this shape.
 /// </summary>
 /// <param name="aabb">Returns the axis aligned box.</param>
 /// <param name="xf">The world transform of the shape.</param>
 public abstract void ComputeAABB(out B2AABB aabb, B2Transform xf);
コード例 #2
0
 public override void ComputeAABB(out B2AABB aabb, B2Transform xf)
 {
     aabb = new B2AABB();
 }
コード例 #3
0
ファイル: B2World.cs プロジェクト: kenneyw/SaltarelleBox2dWeb
 /// Query the world for all shapes that potentially overlap the
 /// provided AABB. You provide a shape pointer buffer of specified
 /// size. The number of shapes found is returned.
 /// @param aabb the query box.
 /// @return the number of shapes found in aabb.
 public int QueryAABB(Action callback, B2AABB aabb)
 {
     return 0;
 }
コード例 #4
0
ファイル: B2World.cs プロジェクト: kenneyw/SaltarelleBox2dWeb
 public bool InRange(B2AABB aabb)
 {
     return false;
 }
コード例 #5
0
 public bool TestOverlap(B2AABB b)
 {
     return false;
 }
コード例 #6
0
 /// Does this aabb contain the provided AABB.
 public bool Contains(B2AABB b2Aabb)
 {
     return false;
 }
コード例 #7
0
 /// Combine two AABBs into this one.
 public B2AABB Combine(B2AABB aabb1, B2AABB aabb2)
 {
     return null;
 }