Preparing search index...
The search index is not available
SCI.js
SCI.js
@4bitlabs/vec2
rotate
Function rotate
Rotate Vec2 around the origin by θ.
rotate
(
source
,
theta
,
out
?
)
:
MutableVec2
Parameters
source
:
MutableVec2
theta
:
number
The angle of rotation, in radians.
out
:
MutableVec2
= source
Returns
MutableVec2
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
SCI.js
Loading...
Rotate Vec2 around the origin by θ.