LVector2f
from panda3d.core import LVector2f
- class LVector2f
Bases:
LVecBase2f
This is a two-component vector offset.
Inheritance diagram
- __init__(*args, **kwargs)
- getClassType()
C++ Interface: get_class_type()
- get_class_type()
C++ Interface: get_class_type()
- normalized()
C++ Interface: normalized(LVector2f self)
- /**
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()
C++ Interface: project(LVector2f self, const LVecBase2f onto)
- /**
Returns a new vector representing the projection of this vector onto
another one. The resulting vector will be a scalar multiple of onto.
*/
- signedAngleDeg()
C++ Interface: signed_angle_deg(LVector2f self, const LVector2f other)
- /**
returns the signed angled between two vectors. normalization is NOT
necessary
*/
- signedAngleRad()
C++ Interface: signed_angle_rad(LVector2f self, const LVector2f other)
- /**
returns the signed angled between two vectors. normalization is NOT
necessary
*/
- signed_angle_deg()
C++ Interface: signed_angle_deg(LVector2f self, const LVector2f other)
- /**
returns the signed angled between two vectors. normalization is NOT
necessary
*/