fromAngle static method
( begin auto-generated from PVector_sub.xml )
Make a new 2D unit vector from an angle.
( end auto-generated )
@webref pvector:method @usage web_application @brief Make a new 2D unit vector from an angle @param angle the angle in radians @return the new unit PVector
Implementation
static PVector fromAngle(double angle) {
return fromAngle_v2(angle, null);
}