blackberry-gaming/GamePlay — pull request #141 by cculy (2012-02-08 20:13:16+00:00)
Title: Various physics changes and other minor fixes

... inefficiency).

Adds ray intersection test API on the physics controller.
Adds implicit conversion between GamePlay and Bullet vector3 and quaternion objects.

Updates collision listener interface to notify when a collision starts and stops and also to pass both contact points of a collision.
Fixed a minor bug in Texture creation code (missing NULL check).
Minor fix for mesh rigid bodies (scale stuff).

Adding support for "!=" operations on vectors.

Added MATH_CLAMP macro.
Fixed a minor bug in Matrix::decompose (related to precision).
Fixed a bug with mesh rigid bodies when loading from a .scene file (where the node is being renamed).
Fixed some bugs for attaching rigid bodies to nodes with world scale.
Fixed a bug with mesh rigid bodies (incorrect triangle index stride values).
Minor bug fix with kinematic rigid body transform update (rotation decomposition from Matrix wasn't accurate).
Minor optimization in PhysicsMotionState.