Examples of appy_transform()


Examples of com.bulletphysics.extras.gimpact.BoxCollision.AABB.appy_transform()

     * Calls updateBound() for update the box set.
     */
  @Override
  public void getAabb(Transform t, Vector3f aabbMin, Vector3f aabbMax) {
    AABB transformedbox = Stack.alloc(localAABB);
    transformedbox.appy_transform(t);
    aabbMin.set(transformedbox.min);
    aabbMax.set(transformedbox.max);
  }

  /**
 
View Full Code Here

Examples of com.bulletphysics.extras.gimpact.BoxCollision.AABB.appy_transform()

   * Retrieves the bound from a child.
   */
  public void getChildAabb(int child_index, Transform t, Vector3f aabbMin, Vector3f aabbMax) {
    AABB child_aabb = Stack.alloc(AABB.class);
    getPrimitiveManager().get_primitive_box(child_index, child_aabb);
    child_aabb.appy_transform(t);
    aabbMin.set(child_aabb.min);
    aabbMax.set(child_aabb.max);
  }

  /**
 
View Full Code Here

Examples of com.bulletphysics.extras.gimpact.BoxCollision.AABB.appy_transform()

  /**
   * Returns the indices of the primitives in the primitive_manager field.
   */
  public boolean boxQueryTrans(AABB box, Transform transform, IntArrayList collided_results) {
    AABB transbox = Stack.alloc(box);
    transbox.appy_transform(transform);
    return boxQuery(transbox, collided_results);
  }

  /**
   * Returns the indices of the primitives in the primitive_manager field.
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.