File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -408,8 +408,8 @@ var Matrix3 = new Class({
408408
409409} ) ;
410410
411- Matrix3 . mul = Matrix3 . multiply ;
412- Matrix3 . idt = Matrix3 . identity ;
413- Matrix3 . reset = Matrix3 . identity ;
411+ Matrix3 . prototype . mul = Matrix3 . prototype . multiply ;
412+ Matrix3 . prototype . idt = Matrix3 . prototype . identity ;
413+ Matrix3 . prototype . reset = Matrix3 . prototype . identity ;
414414
415415module . exports = Matrix3 ;
Original file line number Diff line number Diff line change @@ -883,8 +883,8 @@ var Matrix4 = new Class({
883883
884884} ) ;
885885
886- Matrix4 . mul = Matrix4 . multiply ;
887- Matrix4 . idt = Matrix4 . identity ;
888- Matrix4 . reset = Matrix4 . idt ;
886+ Matrix4 . prototype . mul = Matrix4 . prototype . multiply ;
887+ Matrix4 . prototype . idt = Matrix4 . prototype . identity ;
888+ Matrix4 . prototype . reset = Matrix4 . prototype . idt ;
889889
890890module . exports = Matrix4 ;
Original file line number Diff line number Diff line change @@ -478,11 +478,11 @@ var Quaternion = new Class({
478478
479479} ) ;
480480
481- Quaternion . idt = Quaternion . identity ;
482- Quaternion . sub = Quaternion . subtract ;
483- Quaternion . mul = Quaternion . multiply ;
484- Quaternion . len = Quaternion . length ;
485- Quaternion . lenSq = Quaternion . lengthSq ;
486- Quaternion . reset = Quaternion . idt ;
481+ Quaternion . prototype . idt = Quaternion . prototype . identity ;
482+ Quaternion . prototype . sub = Quaternion . prototype . subtract ;
483+ Quaternion . prototype . mul = Quaternion . prototype . multiply ;
484+ Quaternion . prototype . len = Quaternion . prototype . length ;
485+ Quaternion . prototype . lenSq = Quaternion . prototype . lengthSq ;
486+ Quaternion . prototype . reset = Quaternion . prototype . idt ;
487487
488488module . exports = Quaternion ;
Original file line number Diff line number Diff line change @@ -215,12 +215,12 @@ var Vector2 = new Class({
215215
216216} ) ;
217217
218- Vector2 . sub = Vector2 . subtract ;
219- Vector2 . mul = Vector2 . multiply ;
220- Vector2 . div = Vector2 . divide ;
221- Vector2 . dist = Vector2 . distance ;
222- Vector2 . distSq = Vector2 . distanceSq ;
223- Vector2 . len = Vector2 . length ;
224- Vector2 . lenSq = Vector2 . lengthSq ;
218+ Vector2 . prototype . sub = Vector2 . prototype . subtract ;
219+ Vector2 . prototype . mul = Vector2 . prototype . multiply ;
220+ Vector2 . prototype . div = Vector2 . prototype . divide ;
221+ Vector2 . prototype . dist = Vector2 . prototype . distance ;
222+ Vector2 . prototype . distSq = Vector2 . prototype . distanceSq ;
223+ Vector2 . prototype . len = Vector2 . prototype . length ;
224+ Vector2 . prototype . lenSq = Vector2 . prototype . lengthSq ;
225225
226226module . exports = Vector2 ;
Original file line number Diff line number Diff line change @@ -361,12 +361,12 @@ var Vector3 = new Class({
361361
362362} ) ;
363363
364- Vector3 . sub = Vector3 . subtract ;
365- Vector3 . mul = Vector3 . multiply ;
366- Vector3 . div = Vector3 . divide ;
367- Vector3 . dist = Vector3 . distance ;
368- Vector3 . distSq = Vector3 . distanceSq ;
369- Vector3 . len = Vector3 . length ;
370- Vector3 . lenSq = Vector3 . lengthSq ;
364+ Vector3 . prototype . sub = Vector3 . prototype . subtract ;
365+ Vector3 . prototype . mul = Vector3 . prototype . multiply ;
366+ Vector3 . prototype . div = Vector3 . prototype . divide ;
367+ Vector3 . prototype . dist = Vector3 . prototype . distance ;
368+ Vector3 . prototype . distSq = Vector3 . prototype . distanceSq ;
369+ Vector3 . prototype . len = Vector3 . prototype . length ;
370+ Vector3 . prototype . lenSq = Vector3 . prototype . lengthSq ;
371371
372372module . exports = Vector3 ;
Original file line number Diff line number Diff line change @@ -271,12 +271,12 @@ var Vector4 = new Class({
271271
272272} ) ;
273273
274- Vector4 . sub = Vector4 . subtract ;
275- Vector4 . mul = Vector4 . multiply ;
276- Vector4 . div = Vector4 . divide ;
277- Vector4 . dist = Vector4 . distance ;
278- Vector4 . distSq = Vector4 . distanceSq ;
279- Vector4 . len = Vector4 . length ;
280- Vector4 . lenSq = Vector4 . lengthSq ;
274+ Vector4 . prototype . sub = Vector4 . prototype . subtract ;
275+ Vector4 . prototype . mul = Vector4 . prototype . multiply ;
276+ Vector4 . prototype . div = Vector4 . prototype . divide ;
277+ Vector4 . prototype . dist = Vector4 . prototype . distance ;
278+ Vector4 . prototype . distSq = Vector4 . prototype . distanceSq ;
279+ Vector4 . prototype . len = Vector4 . prototype . length ;
280+ Vector4 . prototype . lenSq = Vector4 . prototype . lengthSq ;
281281
282282module . exports = Vector4 ;
You can’t perform that action at this time.
0 commit comments