You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG-v3.50.md
+22-27Lines changed: 22 additions & 27 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -200,32 +200,27 @@ The Light Pipeline (previously called the Forward Diffuse Light Pipeline), which
200
200
*`LightsManager.destroy` will now clear the `lightPool` array when destroyed, where-as previously it didn't.
201
201
*`LightsManager.cull` now takes the viewport height from the renderer instead of the game config (thanks zenwaichi)
202
202
203
-
### WebGL ModelViewProjection API Changes
204
-
205
-
The `ModelViewProjection` object contained a lot of functions that Phaser never used internally. These have now been
206
-
moved to external functions, which can be easily excluded from Custom builds to save space.
207
-
208
-
If you used any of them in your code, please update to the new function names below:
209
-
210
-
*`Phaser.Renderer.WebGL.MVP` is a new namespace under which the Model View Projection functions now live.
211
-
*`projIdentity` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ProjectIdentity`
212
-
*`projPersp` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ProjectPerspective`
213
-
*`modelRotateX` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.RotateX`
214
-
*`modelRotateY` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.RotateY`
215
-
*`modelRotateZ` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.RotateZ`
216
-
*`viewLoad` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewLoad`
217
-
*`viewRotateX` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewRotateX`
218
-
*`viewRotateY` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewRotateY`
219
-
*`viewRotateZ` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewRotateZ`
220
-
*`viewScale` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewScale`
221
-
*`viewTranslate` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewTranslate`
222
-
*`modelIdentity` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.Identity`
223
-
*`modelScale` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.Scale`
224
-
*`modelTranslate` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.Translate`
225
-
*`viewIdentity` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewIdentity`
226
-
*`viewLoad2D` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ViewLoad2D`
227
-
*`projOrtho` is now available as a stand-alone function `Phaser.Renderer.WebGL.MVP.ProjectOrtho`
228
-
*`Phaser.Renderer.WebGL.MVP.SetIdentity` is a new function the others use, to save on space.
203
+
### WebGL ModelViewProjection Removed
204
+
205
+
The `ModelViewProjection` object contained a lot of functions that Phaser never used internally. Instead, the functions available in them were already available in the `Math.Matrix4` class. So the pipelines have been updated to use a Matrix4 instead and all of the MVP functions have been removed. The full list of removed functions is below:
206
+
207
+
*`projIdentity` has been removed.
208
+
*`projPersp` has been removed.
209
+
*`modelRotateX` has been removed.
210
+
*`modelRotateY` has been removed.
211
+
*`modelRotateZ` has been removed.
212
+
*`viewLoad` has been removed.
213
+
*`viewRotateX` has been removed.
214
+
*`viewRotateY` has been removed.
215
+
*`viewRotateZ` has been removed.
216
+
*`viewScale` has been removed.
217
+
*`viewTranslate` has been removed.
218
+
*`modelIdentity` has been removed.
219
+
*`modelScale` has been removed.
220
+
*`modelTranslate` has been removed.
221
+
*`viewIdentity` has been removed.
222
+
*`viewLoad2D` has been removed.
223
+
*`projOrtho` has been removed.
229
224
230
225
### BitmapText - New Features, Updates and API Changes
231
226
@@ -797,4 +792,4 @@ Since v3.0.0 the Game Object `render` functions have received a parameter called
797
792
798
793
My thanks to the following for helping with the Phaser 3 Examples, Docs, and TypeScript definitions, either by reporting errors, fixing them, or helping author the docs:
0 commit comments