mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-03 10:22:45 -04:00
added pPrintValues()
This commit is contained in:
parent
7d04df949b
commit
cee409771c
@ -7,3 +7,9 @@
|
||||
def __repr__(self):
|
||||
return '%s(%s,%s,%s)' % (
|
||||
self.__class__.__name__,self[0],self[1],self[2])
|
||||
|
||||
def pPrintValues(self):
|
||||
"""
|
||||
Pretty print
|
||||
"""
|
||||
return "% 10.2f, % 10.4f, % 10.4f" % (self[0],self[1],self[2])
|
||||
|
@ -7,3 +7,9 @@
|
||||
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])
|
||||
|
Loading…
x
Reference in New Issue
Block a user