Commit graph

15724 commits

Author SHA1 Message Date
Richard Davey
50a0f0705f Face is now responsible for determining if it can be rendered, or not. Split the update and load process into two. 2020-10-09 11:55:00 +01:00
Richard Davey
abdd62dd57 Will no longer render Faces it cannot see in the Camera 2020-10-09 11:54:37 +01:00
Richard Davey
88feadb577 Fixed JSDocs, added totalRendered property. 2020-10-09 11:54:19 +01:00
Richard Davey
f77a5de32c Geom.Mesh.RotateFace is a new function that will rotate a Face by a given amount, based on an optional center of rotation. 2020-10-09 11:53:57 +01:00
Richard Davey
bf8cd60aab Added ability to rotate data on import 2020-10-08 15:53:13 +01:00
Richard Davey
c05cec3ba0 Added JSDocs 2020-10-08 14:40:32 +01:00
Richard Davey
79a1264f8b Fixed property name 2020-10-08 14:40:25 +01:00
Richard Davey
84ddb242f7 Update CHANGELOG-v3.50.md 2020-10-08 14:09:59 +01:00
Richard Davey
af0a4dbd37 Updated Mesh to include new functions and docs 2020-10-08 13:24:23 +01:00
Richard Davey
e46ba609a8 Expose new functions 2020-10-08 13:24:09 +01:00
Richard Davey
2f85c8a8ba Added normals parameters 2020-10-08 13:24:01 +01:00
Richard Davey
e3f7048e22 Removed moved defs 2020-10-08 13:23:44 +01:00
Richard Davey
8838781aa1 Create GenerateGridVerts.js 2020-10-08 13:23:24 +01:00
Richard Davey
d2ea1c45c3 Create GenerateObjVerts.js 2020-10-08 13:23:20 +01:00
Richard Davey
8a73523d6c Create GenerateVerts.js 2020-10-08 13:23:17 +01:00
Richard Davey
b3f1a7986e Create GenerateGridConfig.js 2020-10-08 13:23:13 +01:00
Richard Davey
d09764518d Create GenerateGridVertsResult.js 2020-10-08 13:23:09 +01:00
Richard Davey
20f4e8a66b Create GenerateVertsResult.js 2020-10-08 13:23:05 +01:00
Richard Davey
1df4661487 Camera.roundPixels now rounds worldView matrix 2020-10-08 11:07:21 +01:00
Richard Davey
114201f497 Fixed tilemaps with missing function 2020-10-08 11:07:05 +01:00
Richard Davey
9a61c62997 Update CHANGELOG-v3.50.md 2020-10-08 10:49:19 +01:00
Richard Davey
bd0607b69b Update CHANGELOG-v3.50.md 2020-10-08 10:45:08 +01:00
Richard Davey
2e988801ce Made obj material parsing external 2020-10-08 10:45:03 +01:00
Richard Davey
c0ab4d4ae9 OBJFile can now optionally load a material file along with the model data 2020-10-08 10:44:49 +01:00
Richard Davey
82c87ee814 Create materials container 2020-10-08 10:44:32 +01:00
Richard Davey
f191283928 Moved ParseObjMaterial to Geom namespace 2020-10-08 10:44:23 +01:00
Richard Davey
727383d4f3 Loader.MultiFile will now parse the given files array and only add valid entries into the file list, allowing multifiles to now have optional file entries. 2020-10-08 10:44:02 +01:00
Richard Davey
5bb73b5c95 In the Loader.FileTypes.TextFile config you can now override the type and cache destination for the file. 2020-10-08 10:43:13 +01:00
Richard Davey
9ba5751478 Deps update 2020-10-08 09:18:06 +01:00
Richard Davey
324fa6a3b2 Removed MeshCamera, updated Mesh to focus on ortho projections 2020-10-07 22:27:04 +01:00
Richard Davey
9e07e5a27b Expose RGB 2020-10-07 18:06:39 +01:00
Richard Davey
8f67ffca5f Starting to add materials 2020-10-07 18:06:33 +01:00
Richard Davey
90824e1485 Removed normalMatrix 2020-10-07 18:06:22 +01:00
Richard Davey
2e774063f2 Update CHANGELOG-v3.50.md 2020-10-07 17:46:03 +01:00
Richard Davey
dda4431366 Merged the Layer3D Game Object and pipeline back in for now 2020-10-07 17:44:36 +01:00
Richard Davey
c3fe480905 Finished all docs and added some missing methods and made use of setValues 2020-10-07 17:42:19 +01:00
Richard Davey
75fd64ace7 Modified cam layout 2020-10-07 13:16:24 +01:00
Richard Davey
f6a0a8d96b Transform based on z value 2020-10-07 13:16:10 +01:00
Richard Davey
55d7b36217 Pass in the z value 2020-10-07 13:16:01 +01:00
Richard Davey
2137e3413d Added cameraZ parameter 2020-10-07 13:15:53 +01:00
Richard Davey
c6d25c9559 Added z parameter 2020-10-07 13:15:44 +01:00
Richard Davey
8ff78ef08a Fixed addVerts face addition 2020-10-07 12:45:31 +01:00
Richard Davey
e331638b05 Updated to use transformed values 2020-10-07 12:04:58 +01:00
Richard Davey
caf545d042 Added position, rotation and scale vectors, caching and removed old methods 2020-10-07 12:04:46 +01:00
Richard Davey
a367799da1 Update Vertex.js 2020-10-07 12:04:16 +01:00
Richard Davey
f6671f7864 Update CHANGELOG-v3.50.md 2020-10-07 10:14:39 +01:00
Richard Davey
cdc34ef3a8 inputMousePreventDefaultWheel is a new config option that allows you to control preventDefault calls specifically on mouse wheel events. Set it via input.mouse.preventDefaultWheel in the Game Config. It defaults to true, the same as the previous capture property did. 2020-10-07 10:14:28 +01:00
Richard Davey
619fd18028 MouseManager.preventDefaultWheel is a new boolean property, set via the inputMousePreventDefaultWheel config option that allows you to toggle capture of mouse wheel at runtime. 2020-10-07 10:14:02 +01:00
Richard Davey
2246b63504 inputMousePreventDefaultWheel is a new config option that allows you to control preventDefault calls specifically on mouse wheel events. Set it via input.mouse.preventDefaultWheel in the Game Config. It defaults to true, the same as the previous capture property did. 2020-10-07 10:13:50 +01:00
Richard Davey
7a0b056fef Trying out MeshCamera 2020-10-06 18:05:14 +01:00