from panda3d.core import LPoint2d
This is a two-component point in space.
normalized() → LPoint2d¶
Normalizes the vector and returns the normalized vector as a copy. If the vector was a zero-length vector, a zero length vector will be returned.
project(onto: LVecBase2d) → LPoint2d¶
Returns a new vector representing the projection of this vector onto another one. The resulting vector will be a scalar multiple of onto.