Browse Source

add bound and lerp to builtins

Darren Ranalli 19 years ago
parent
commit
35cefd4463
1 changed files with 4 additions and 1 deletions
  1. 4 1
      direct/src/showbase/PythonUtil.py

+ 4 - 1
direct/src/showbase/PythonUtil.py

@@ -24,7 +24,8 @@ __all__ = ['enumerate', 'unique', 'indent', 'nonRepeatingRandomList',
 'ScratchPad', 'Sync', 'RefCounter', 'itype', 'getNumberedTypedString',
 'ScratchPad', 'Sync', 'RefCounter', 'itype', 'getNumberedTypedString',
 'printNumberedTyped', 'DelayedCall', 'DelayedFunctor',
 'printNumberedTyped', 'DelayedCall', 'DelayedFunctor',
 'FrameDelayedCallback', 'ArgumentEater', 'ClassTree', 'getBase',
 'FrameDelayedCallback', 'ArgumentEater', 'ClassTree', 'getBase',
-'superFlattenShip','HotkeyBreaker']
+'superFlattenShip','HotkeyBreaker','logMethodCalls','GoldenRatio',
+'GoldenRectangle']
 
 
 import types
 import types
 import string
 import string
@@ -2652,3 +2653,5 @@ __builtin__._notIn = _notIn
 __builtin__.itype = itype
 __builtin__.itype = itype
 __builtin__.exceptionLogged = exceptionLogged
 __builtin__.exceptionLogged = exceptionLogged
 __builtin__.appendStr = appendStr
 __builtin__.appendStr = appendStr
+__builtin__.bound = bound
+__builtin__.lerp = lerp