mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-05 03:15:07 -04:00
16 lines
415 B
Python
Executable File
16 lines
415 B
Python
Executable File
|
|
"""
|
|
VBase4-extensions module: contains methods to extend functionality
|
|
of the VBase4 class
|
|
"""
|
|
|
|
def __repr__(self):
|
|
return '%s(%s, %s, %s, %s)' % (
|
|
self.__class__.__name__, self[0], self[1], self[2], self[3])
|
|
|
|
def pPrintValues(self):
|
|
"""
|
|
Pretty print
|
|
"""
|
|
return '% 10.4f, % 10.4f, % 10.4f, % 10.4f' % (self[0], self[1], self[2], self[3])
|