LVector2d
from panda3d.core import LVector2d
- class LVector2d
Bases:
LVecBase2d
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(LVector2d 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(LVector2d self, const LVecBase2d 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(LVector2d self, const LVector2d other)
- /**
returns the signed angled between two vectors. normalization is NOT
necessary
*/
- signedAngleRad()
C++ Interface: signed_angle_rad(LVector2d self, const LVector2d other)
- /**
returns the signed angled between two vectors. normalization is NOT
necessary
*/
- signed_angle_deg()
C++ Interface: signed_angle_deg(LVector2d self, const LVector2d other)
- /**
returns the signed angled between two vectors. normalization is NOT
necessary
*/