Added a proper toString() to CollisionResult.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10790 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
This commit is contained in:
		
							parent
							
								
									0ee9f53c27
								
							
						
					
					
						commit
						d70174d91a
					
				| @ -129,4 +129,12 @@ public class CollisionResult implements Comparable<CollisionResult> { | |||||||
|         return triangleIndex; |         return triangleIndex; | ||||||
|     } |     } | ||||||
| 
 | 
 | ||||||
|  |     public String toString() { | ||||||
|  |         return "CollisionResult[geometry=" + geometry | ||||||
|  |                                 + ", contactPoint=" + contactPoint | ||||||
|  |                                 + ", contactNormal=" + contactNormal | ||||||
|  |                                 + ", distance=" + distance | ||||||
|  |                                 + ", triangleIndex=" + triangleIndex | ||||||
|  |                                 + "]"; | ||||||
|  |     } | ||||||
| } | } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user