MCPcopy Index your code
hub / github.com/jabbany/CommentCoreLibrary / rotate

Method rotate

src/scripting/api/Display/Matrix.ts:107–113  ·  view source on GitHub ↗
(q:number)

Source from the content-addressed store, hash-verified

105 }
106
107 public rotate(q:number):void {
108 this._data = this.dotProduct([
109 Math.cos(q), -Math.sin(q), 0,
110 Math.sin(q), Math.cos(q), 0,
111 0, 0, 1
112 ]);
113 }
114
115 public scale(sx:number, sy:number):void {
116 this._data = this.dotProduct([

Callers 1

createBoxMethod · 0.95

Calls 1

dotProductMethod · 0.95

Tested by

no test coverage detected