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