Namespace rotateByAng
Defined in: naview.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Rotates a 2d-vector by a given angle
|
Namespace Detail
rotateByAng
Rotates a 2d-vector by a given angle
- Parameters:
- {Array} v1
- array of coordinates 1
- {Array} centerp
- array of coordinates to center rotated vector
- {number} angle
- angle in degrees to rotate a vector to