Poodletooth-iLand/panda/direct/extensions/VBase3-extensions.py
Master Jumblespeed d882959bfa switch to remote
2015-05-18 22:11:33 -04:00

15 lines
384 B
Python
Executable file

"""
VBase3-extensions module: contains methods to extend functionality
of the VBase3 class
"""
def __repr__(self):
return '%s(%s, %s, %s)' % (
self.__class__.__name__, self[0], self[1], self[2])
def pPrintValues(self):
"""
Pretty print
"""
return "% 10.4f, % 10.4f, % 10.4f" % (self[0], self[1], self[2])