from pandac.PandaModules import Point3 p = Point3(1, 2, 3)
from pandac.PandaModules import Point3 p1 = Point3(1, 2, 3) p2 = Point3(4, 5, 6) p3 = p1 + p2
from pandac.PandaModules import Point3 p = Point3(1, 2, 3) print(p.getX()) # prints 1 print(p.getY()) # prints 2 print(p.getZ()) # prints 3This code creates a Point3 object, then prints out each of its x, y, and z coordinates using the built-in getX(), getY(), and getZ() methods. Package library: Pandac.PandaModules is a library that contains a variety of data types, classes, functions, and other objects that are used in the Panda3D game engine. The Point3 data type is just one of many objects included in this library.