direct.directtools.DirectGeometry
from direct.directtools.DirectGeometry import LineNodePath, getCrankAngle, getNearProjectionPoint, getScreenXY, planeIntersect, qSlerp, relHpr
Inheritance diagram
- class LineNodePath(parent=None, name=None, thickness=1.0, colorVec=LVecBase4f(1, 1, 1, 1))[source]
Bases:
NodePath
- drawArrow(self, sv, ev, arrowAngle, arrowLength)[source]
Do the work of moving the cursor around to draw an arrow from sv to ev. Hack: the arrows take the z value of the end point
- drawArrow2d(self, sv, ev, arrowAngle, arrowLength)[source]
Do the work of moving the cursor around to draw an arrow from sv to ev. Hack: the arrows take the z value of the end point