Commit Graph

366 Commits

Author SHA1 Message Date
zxg0622 f344453494 fix particle delay error & model visibility bug (#4838)
* fix particle delay error & model visibility bug

* remove texture animation sprite mode
2019-07-08 17:57:10 +08:00
Yun Hsiao Wu 9c07e57c6e wechat audio perf opt (#4821) 2019-07-04 19:09:34 +08:00
jerrywwl 8eab1e4fc0 hide some properties of camera component 2019-07-03 16:15:37 +08:00
pandamicro e66f54cfd1 ValueTypes: remove out parameter for class functions (#4799) 2019-07-03 11:27:54 +08:00
pandamicro ec9e639293 Refactor valuetypes (#4798)
* Some value-types change

* value-type change

* Refactor valuetypes
2019-07-03 09:31:43 +08:00
Weiliang Wang 0e3b425d89 modify Color & Mat4 interfaces (#4797) 2019-07-03 02:46:50 +08:00
Yun Hsiao Wu 81d6e0922c minor (#4795) 2019-07-02 23:42:39 +08:00
Yun Hsiao Wu 26f8fc3967 fix wechat audio (#4789) 2019-07-02 14:10:12 +08:00
Yun Hsiao Wu b995626f0c missing sampler & circular ref issue (#4787)
* fix missing sampler issue

* fix references
2019-07-02 11:18:22 +08:00
zxg0622 2449dbcbfa fix particle rateoverdistance bug & some tslint errors (#4783) 2019-07-02 11:16:27 +08:00
JoneLau 87036c4660 add constget to the valuetype in the component (link: 4733) (#4769) 2019-07-01 18:24:28 +08:00
Yun Hsiao Wu a24c149a33 misc fixes (#4771)
* comments on mat quat conversion

* fix IBL update

* misc ccclass fixes
2019-07-01 16:39:03 +08:00
jiaxin.lai 3d2c385b7a adjust physics system interface (#4759) 2019-07-01 09:34:31 +08:00
ChiaNing 9b3858a3e7 API-Doc format modify (#4761) 2019-07-01 09:33:24 +08:00
Yun Hsiao Wu 257f966bd3 fix pass & GL constants Changelog: * (#4762)
* fix material props when using pass switches

* don't rely on WebGLRenderingContext static constants

* skybox precision
2019-07-01 09:31:37 +08:00
Yun Hsiao Wu f92dead173 fix skinning mesh onLoad (#4754) 2019-06-29 12:17:42 +08:00
jiaxin.lai 2aa125974d Fix collider sync bug, add shape to body before enable body (#4753)
* add shape to body before enable body, when enable body will sync the body

* sync node after add shape to body
2019-06-29 12:16:48 +08:00
Leslie Leigh b5623dee6a add reset() to Mesh and Texture (#4745)
* add reset() to Mesh and Texture

* use tag deprecated

* typo
2019-06-28 16:17:00 +08:00
zxg0622 b540c3d728 fix particle lag (#4718) (#4743)
* fix particle lag

* fix model recreate pso on enable

* change value-type lerp interface

* change value-type lerp to static

* fix model not rendered at persistent node
2019-06-28 10:26:28 +08:00
Yun Hsiao Wu f6d6aab06b bindpose as mat4 (#4738) 2019-06-27 18:35:01 +08:00
Weiliang Wang d6fb2dc72b Revert "add constget to the valuetype in the component (#4733)" (#4739)
This reverts commit fb35719387.
2019-06-27 18:31:41 +08:00
JoneLau fb35719387 add constget to the valuetype in the component (#4733) 2019-06-27 17:57:08 +08:00
jiaxin.lai 29b61b6b0a update physics api doc (#4735) 2019-06-27 17:55:47 +08:00
jiaxin.lai 7c7a0536a6 fix bug of collider set size & radius when using builtin (#4726) 2019-06-27 11:31:21 +08:00
jiaxin.lai 25c13d4d96 update display order of rigid body component (#4723) 2019-06-27 09:54:39 +08:00
ChiaNing f79924e288 Some API Doc modify (#4725)
* Some API Doc modify

* loader API Doc modify
2019-06-27 09:51:10 +08:00
jiaxin.lai e3bd03f037 api module declare for physics (#4687)
* api module declare for physics

* modify physics api

* update physics profile
2019-06-26 10:42:55 +08:00
Yun Hsiao Wu d7e7f06611 global planar shadow system (#4709)
* doc category

* planar shadow
2019-06-26 09:48:47 +08:00
zxg0622 b1fa01f118 fix ui particle error & add module api doc (#4684) (#4685) 2019-06-24 19:06:02 +08:00
jiaxin.lai cb2786a789 Physics enegine event refactor (#4675)
* update cannon.js & cannon.js declaration

* plugin cannon.js collsion event & provide contacts(testing for now)

* wrap cannon body impl

* add linear\angular factor to rigidbody component

* add awake sleepy sleeping state query get property

* add apply local force/impulse function to rigidbody component

* add builtin macro protection

* add linear/angular veloctiy function to rigidbody component

* delete some unneed code, enable allowSleep by default

* event refactor, trigger emit by shape, collision emit by rigidBody

* Builtin system also need 'beforeStep'
2019-06-24 18:32:00 +08:00
zxg0622 ba28b55d5e add visibility to inspector (#4669) 2019-06-21 17:56:23 +08:00
pandamicro 1a3b75cea8 Add Priority to Camera Component (#4670)
* Update authors

* Add  Priority to Camera Component
2019-06-21 17:52:48 +08:00
ChiaNing 408cc6f930 Copyright Notice format change (#4665) 2019-06-21 09:34:05 +08:00
jiaxin.lai b81f4471f3 Fix cannon add&remove mask method (#4652)
* Fix cannon add&remove mask method

* remove extra condition

* group and mask use bit operation only
2019-06-20 11:39:41 +08:00
jiaxin.lai 280e620f64 before destroy make sure the body is deactive (#4656) 2019-06-20 09:35:15 +08:00
Yun Hsiao Wu 01d25588e7 seperate sampler bindings (#4654) 2019-06-19 15:42:40 +08:00
zxg0622 caa1aa1ab6 fix particle scale space (#4649) 2019-06-18 17:14:20 +08:00
Yun Hsiao Wu c207888d01 minor (#4646) 2019-06-18 16:51:46 +08:00
zxg0622 e299018e88 add particle system scale (#4639) 2019-06-17 17:34:58 +08:00
Yun Hsiao Wu dc45d5e0ce update joints after culling (#4641)
* fix vmath return type

* more docs

* update joints after culling
2019-06-17 17:33:01 +08:00
Yun Hsiao Wu ab20e4fe2b vmath docs (#4620)
* mat4 vec4

* minor

* vec3, mat3, quat

* color4, vec2
2019-06-14 11:25:48 +08:00
jiaxin.lai 28b18223da Adjust group & mask documents, add get/set-CollisionFilter-group/mask interface (#4602) 2019-06-14 10:20:02 +08:00
ChiaNing f49bd31a22 Format adjustment for api doc (#4618) 2019-06-14 09:22:43 +08:00
jiaxin.lai 8a86e39151 Add some documents for gemo-util (#4614)
* Add some documents for gemo-util

* Add docments for distance
2019-06-13 17:33:31 +08:00
pandamicro 994d93e65b Fix texture sampler destroyed issue (#4611) 2019-06-13 13:12:47 +08:00
zxg0622 62c38b8198 add memop doc & change map iteration (#4604) 2019-06-12 18:45:59 +08:00
Yun Hsiao Wu 182a29a869 skinning mesh bounds (#4591)
* skinning mesh bounds

* scene-utils docs

* fix batching
2019-06-12 17:06:13 +08:00
jiaxin.lai b8888a4317 Add Physics group and mask docments (#4597) 2019-06-12 17:04:46 +08:00
JoneLau a18decfa83 fix circle (#4599) 2019-06-12 16:55:58 +08:00
jiaxin.lai 3359c9a30f Add physics interface api document (#4593) 2019-06-12 11:11:46 +08:00