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