LPoint2f
from panda3d.core import LPoint2f
- class LPoint2f
Bases:
Bases:
LVecBase2f
This is a two-component point in space.
Inheritance diagram
- __add__(other: LVecBase2f) LVecBase2f
- __init__()
- __init__(param0: LPoint2f)
- __init__(copy: LVecBase2f)
- __sub__(other: LVecBase2f) LVecBase2f
- __sub__(other: LVecBase2f) LVecBase2f
- static getClassType() TypeHandle
- normalized() LPoint2f
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: LVecBase2f) LPoint2f
Returns a new vector representing the projection of this vector onto another one. The resulting vector will be a scalar multiple of onto.