Panda3D
Loading...
Searching...
No Matches
Classes | Functions
direct.directtools.DirectGeometry Namespace Reference

Classes

class  LineNodePath
 

Functions

 getCrankAngle (center)
 
 getNearProjectionPoint (nodePath)
 
 getScreenXY (nodePath)
 
 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 (startQuat, endQuat, t)
 
 relHpr (nodePath, base, h, p, r)
 

Function Documentation

◆ getCrankAngle()

getCrankAngle ( center)

◆ getNearProjectionPoint()

getNearProjectionPoint ( nodePath)

◆ getScreenXY()

getScreenXY ( nodePath)

◆ planeIntersect()

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()

qSlerp ( startQuat,
endQuat,
t )

◆ relHpr()

relHpr ( nodePath,
base,
h,
p,
r )