Richard Davey
9caadeb364
Lint fix. #4992
2020-10-02 09:49:39 +01:00
Richard Davey
555c47e773
Moved Tilemap const declarations to the correct place. #4992
2020-10-02 09:48:44 +01:00
Richard Davey
c3c35322c4
Merge pull request #4992 from svipal/master
...
Preliminary PR for isometric support
2020-10-02 09:42:47 +01:00
samme
2223aebffb
Don't update center before separation
...
Should be unnecessary now
2020-10-01 10:44:40 -07:00
samme
9a348409e3
Update center after separation
2020-10-01 10:42:30 -07:00
Richard Davey
6bc858e332
Moved out OBJFile and updated PipelineManager
2020-10-01 18:00:02 +01:00
Richard Davey
53baaba392
Update help.js
2020-10-01 17:56:52 +01:00
Richard Davey
3baecb19d4
Moved old mesh pipeline and code into own folder
2020-10-01 17:56:49 +01:00
Richard Davey
427b1aa019
New dist scripts for Phaser 3D
2020-10-01 17:56:23 +01:00
Richard Davey
239edd5296
Preparing for beta 8
2020-10-01 17:38:47 +01:00
Richard Davey
4b5450d136
Expose Basic ShaderLib, add Program, Attribute and Uniform handlers
2020-10-01 17:19:13 +01:00
Richard Davey
21cf8bcf78
Create ShaderChunk.js
2020-10-01 16:16:18 +01:00
Richard Davey
6c1a9282c6
Added all of the shader chunks
2020-10-01 16:16:12 +01:00
Richard Davey
8c3226dc91
New shader bundler script
2020-10-01 16:15:00 +01:00
Richard Davey
bf17d061f7
Geometry, VAO and Renderer updated ready for shader build
2020-10-01 14:29:53 +01:00
Richard Davey
755ff068f0
Update CHANGELOG-v3.50.md
2020-10-01 13:48:30 +01:00
Richard Davey
2d43561e1a
WebGLRenderer.vaoExtension
is a new property that holds a reference to the Vertex Array Object WebGL Extension, if supported by the browser.
2020-10-01 13:48:27 +01:00
Richard Davey
0a695e6061
Material can store its own transient properties, rather than using a Map
2020-10-01 12:16:08 +01:00
Richard Davey
4238505ee2
Update Renderer.js
2020-10-01 12:15:54 +01:00
Richard Davey
f9617bd0be
The RenderState class
2020-10-01 12:15:47 +01:00
Richard Davey
dd99853cdb
Created all of the WebGL state handling functions
2020-10-01 12:15:29 +01:00
Richard Davey
e0d4e84d45
Update CHANGELOG-v3.50.md
2020-10-01 10:57:17 +01:00
Richard Davey
d8992ccf9d
WebGLRenderer.instancedArraysExtension
is a new property that holds the WebGL Extension for instanced array drawing, if supported by the browser.
2020-10-01 10:57:13 +01:00
Richard Davey
23d6c68f1c
Update Renderer.js
2020-09-30 17:45:12 +01:00
Richard Davey
b05d7f5481
Starting core renderer
2020-09-30 17:45:05 +01:00
Richard Davey
a30675d1fd
Update CHANGELOG-v3.50.md
2020-09-30 17:08:00 +01:00
Richard Davey
c0bfb6a61c
Added basic Camera and Frustum
2020-09-30 17:07:57 +01:00
Richard Davey
3baa34bea5
Create Mesh.js
2020-09-30 17:07:40 +01:00
Richard Davey
ee7804f515
Matrix4.getInverse
is a new method that takes a Matrix4, copies it to the current matrix, then returns the inverse of it.
2020-09-30 17:07:32 +01:00
Richard Davey
1907bda5ee
Update GameObjectFactory.js
2020-09-30 16:30:12 +01:00
Richard Davey
5313356fb0
Added basic Geometry
2020-09-30 15:30:50 +01:00
Richard Davey
6ab0803469
Fixed path
2020-09-30 15:11:42 +01:00
Richard Davey
e94d19b6eb
Update CHANGELOG-v3.50.md
2020-09-30 15:10:51 +01:00
Richard Davey
abf7756e19
Starting to flesh out the Layer3D Plugin basics
2020-09-30 15:10:48 +01:00
Richard Davey
1c2c479689
Include Layer3D if feature enabled
2020-09-30 15:09:57 +01:00
Richard Davey
f8d7e823d7
Quaternion.setFromRotationMatrix
is a new method that will set the rotation of the quaternion from the given Matrix4.
2020-09-30 15:09:35 +01:00
Richard Davey
0a8252bbe1
Updated Webpack configs to support Layer3D Plugin
2020-09-30 15:07:47 +01:00
Richard Davey
9afaf5f2c0
Moved RGB class
2020-09-30 14:16:13 +01:00
Richard Davey
7f3e6798e4
Added multiplyMatrices
and premultiply
methods and removed unused method.
2020-09-30 14:02:16 +01:00
Richard Davey
06d359dc25
Matrix4.transform
is a new method that will generate a transform matrix from the given position and scale vectors and a rotation quaternion.
...
Removed un-used methods.
2020-09-30 13:48:59 +01:00
Richard Davey
d3e318a51c
Added projectViewMatrix
and unprojectViewMatrix
.
2020-09-30 13:39:48 +01:00
Richard Davey
40a808cb50
Matrix4.lookAtRH
is a new method that will generate a right-handed look-at matrix from the given eye, target and up positions.
2020-09-30 13:36:14 +01:00
Richard Davey
c2af9c0918
Update CHANGELOG-v3.50.md
2020-09-30 13:19:28 +01:00
Richard Davey
51ab68573f
Matrix4.getMaxScaleOnAxis
is a new method that will return the maximum axis scale from the Matrix4.
2020-09-30 13:19:20 +01:00
Richard Davey
7896bb4157
Added new methods.
...
* `Vector3.setFromMatrixPosition` is a new method that will set the components of the Vector3 based on the position of the given Matrix4.
* `Vector3.setFromMatrixColumn` is a new method that will set the components of the Vector3 based on the specified Matrix4 column.
* `Vector3.fromArray` is a new method that will set the components of the Vector3 based on the values in the given array, at the given offset.
* `Vector3.min` is a new method that will set the components of the Vector3 based on the `Main.min` between it and the given Vector3.
* `Vector3.max` is a new method that will set the components of the Vector3 based on the `Main.max` between it and the given Vector3.
* `Vector3.addVectors` is a new method that will set the components of the Vector3 based on the addition of the two Vector3s given.
* `Vector3.addScalar` is a new method that will multiply the components of the Vector3 by the scale value given.
* `Vector3.applyMatrix3` is a new method that will take a Matrix3 and apply it to the Vector3.
* `Vector3.applyMatrix4` is a new method that will take a Matrix4 and apply it to the Vector3.
2020-09-30 13:18:45 +01:00
Richard Davey
c299c9e108
Renamed method to setFromEuler
2020-09-30 11:23:01 +01:00
Richard Davey
3b8c78cca2
Quaternion.fromEuler
is a new method that will set the quaternion from the given Euler
object, optionally calling the onChangeCallback
in the process.
...
The `Quaternion.set` method has a new optional boolean parameter `update` (defaults to `true`), which will call the `onChangeCallback` if set.
2020-09-30 11:21:28 +01:00
Richard Davey
78e020b6b1
Update CHANGELOG-v3.50.md
2020-09-30 11:03:28 +01:00
Richard Davey
8823f7f0e4
Removed Layer3D and Quad Game Objects
2020-09-30 11:03:19 +01:00
Richard Davey
11e6101f8d
Added Math.Euler class
2020-09-30 11:02:54 +01:00