Preparing search index...
The search index is not available
p2-es
p2-es
vec2
rotate90cw
Function rotate90cw
rotate90cw
(
out
,
a
)
:
Vec2
Rotate a vector 90 degrees clockwise
Parameters
out
:
Vec2
a
:
Vec2
Returns
Vec2
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
p2-
es
Utils
vec2
add
centroid
clone
copy
create
cross
Length
crossVZ
crossZV
distance
divide
dot
from
Values
get
Line
Segments
Intersection
get
Line
Segments
Intersection
Fraction
length
lerp
multiply
negate
normalize
reflect
rotate
rotate90cw
scale
set
squared
Distance
squared
Length
str
subtract
to
Global
Frame
to
Local
Frame
vector
To
Global
Frame
vector
To
Local
Frame
AABB
Angle
Lock
Equation
Body
Box
Broadphase
Capsule
Circle
Constraint
Contact
Equation
Contact
Equation
Pool
Contact
Material
Convex
Distance
Constraint
Equation
Event
Emitter
Friction
Equation
Friction
Equation
Pool
GSSolver
Gear
Constraint
Heightfield
Line
Linear
Spring
Lock
Constraint
Material
Naive
Broadphase
Narrowphase
Particle
Plane
Pool
Prismatic
Constraint
Ray
Raycast
Result
Revolute
Constraint
Rotational
Spring
Rotational
Velocity
Equation
SAPBroadphase
Shape
Solver
Spring
Top
Down
Vehicle
Wheel
Constraint
World
Angle
Lock
Equation
Options
Body
Options
Box
Options
Capsule
Options
Circle
Options
Contact
Material
Options
Convex
Options
Distance
Constraint
Options
GSSolver
Options
Gear
Constraint
Options
Heightfield
Options
Line
Options
Linear
Spring
Options
Lock
Constraint
Options
Pool
Options
Prismatic
Constraint
Options
Revolute
Constraint
Options
Rotational
Spring
Options
Shape
Options
Shared
Shape
Options
Solver
Options
Spring
Options
Wheel
Constraint
Options
World
Options
AABBOptions
Add
Body
Event
Add
Spring
Event
Begin
Contact
Event
Body
Event
Map
Constraint
Options
End
Contact
Event
Impact
Event
Post
Broadphase
Event
Post
Step
Event
Pre
Solve
Event
Ray
Options
Remove
Body
Event
Remove
Spring
Event
Sleep
Event
Sleepy
Event
Vec2
Wake
Up
Event
World
Event
Map
Rotate a vector 90 degrees clockwise