Panda3D
Classes | Functions
direct.directtools.DirectGeometry Namespace Reference

Classes

class  LineNodePath
 

Functions

def getCrankAngle (center)
 
def getNearProjectionPoint (nodePath)
 
def getScreenXY (nodePath)
 
def planeIntersect (lineOrigin, lineDir, planeOrigin, normal)
 Given a point in space, and a direction, find the point of intersection of that ray with a plane at the specified origin, with the specified normal. More...
 
def qSlerp (startQuat, endQuat, t)
 
def relHpr (nodePath, base, h, p, r)
 

Function Documentation

◆ getCrankAngle()

def direct.directtools.DirectGeometry.getCrankAngle (   center)

◆ getNearProjectionPoint()

def direct.directtools.DirectGeometry.getNearProjectionPoint (   nodePath)

◆ getScreenXY()

def direct.directtools.DirectGeometry.getScreenXY (   nodePath)

◆ planeIntersect()

def direct.directtools.DirectGeometry.planeIntersect (   lineOrigin,
  lineDir,
  planeOrigin,
  normal 
)

Given a point in space, and a direction, find the point of intersection of that ray with a plane at the specified origin, with the specified normal.

◆ qSlerp()

def direct.directtools.DirectGeometry.qSlerp (   startQuat,
  endQuat,
  t 
)

◆ relHpr()

def direct.directtools.DirectGeometry.relHpr (   nodePath,
  base,
  h,
  p,
  r 
)