Added vec.reflect(mirror) method to Python Mathutils Vector type

also made sensor and actuator text areas a bit bigger so full names can be read.
This commit is contained in:
2008-08-18 02:29:25 +00:00
parent 89a735e4f8
commit ff45582551
4 changed files with 69 additions and 9 deletions

View File

@@ -521,6 +521,15 @@ class Vector:
@return: Return a quaternion rotation from the vector and the track and up axis.
"""
def reflect(mirror):
"""
Return the reflection vector from the mirror vector argument.
@type mirror: Vector object
@param mirror: This vector could be a normal from the reflecting surface.
@rtype: Vector object matching the size of this vector.
@return: The reflected vector.
"""
class Euler:
"""
The Euler object