58 Commits

Author SHA1 Message Date
Ali Shakiba
6b71ae175d use Object.create 2021-03-06 15:31:29 -08:00
Ali Shakiba
5917d6bdfb bug fix 2021-02-24 18:38:03 -08:00
Ali Shakiba
900191d9da fix serializer 2021-02-07 13:42:47 -08:00
Ali Shakiba
e117b2fd6c update license 2021-01-25 22:41:21 -08:00
Ali Shakiba
72e4e7ad40 make chain setNextVertex setPrevVertex 2021-01-11 20:25:17 -08:00
Ali Shakiba
4df04f0e36 add chain reset 2021-01-07 17:09:23 -08:00
Ali Shakiba
2dd37b969f bug fix chain shape 2021-01-07 17:09:23 -08:00
Oliver Zell
c86b574640 split shape classes in static and non-static interface again 2020-09-27 16:25:18 +02:00
Ali Shakiba
c40d9190d7 fix shape types 2020-08-23 18:54:15 -07:00
Feavy
8e9e020119 Fixed shapes' creation function declaration in TypeScript definition 2020-08-16 21:49:07 +02:00
Ali Shakiba
6d99866214 remove internal fields from doc 2020-08-03 20:19:01 -07:00
Ali Shakiba
39a42f0c12 use classes for types 2020-07-28 20:16:19 -07:00
Ali Shakiba
f836481831 bug fix chain serialize 2020-07-26 22:53:47 -07:00
Ali Shakiba
0ae0b81577 bug fix convex hull 2020-07-26 22:53:47 -07:00
Ali Shakiba
4adc465210 fix serialization 2020-06-23 19:46:54 -07:00
s.iaroshenko
d871cf9b4c Moved tests out of source folder
Replaced be.ok as it's not recommended: https://www.chaijs.com/api/bdd/#method_ok
Fixed order in _setAsBox to be consistent with wrapping algorithm (so vertices are not reordered for Box fixture)
Commented out some debug output
2020-05-31 14:53:23 -07:00
Ali Shakiba
91a8d68878 add json schema for serializer 2020-01-02 20:16:32 -08:00
Ali Shakiba
430751f805 change deserialize signature 2019-12-31 15:27:43 -08:00
Ali Shakiba
0eee4ae4cf bug fix deserializer 2019-12-31 15:27:43 -08:00
Ali Shakiba
36d74be4a9 fix tslint 2019-07-24 23:37:28 -07:00
Oliver Zell
126ab64434 explicitly import types in TS definitions 2019-07-02 21:37:41 +02:00
Oliver Zell
2c261c80a0 put planck in front of types imported from other definition files 2019-06-12 20:54:04 +02:00
Oliver Zell
3516420ed6 conditionally use module definition for typescript types 2019-06-11 15:11:30 +02:00
Ali Shakiba
47ebd7dcbc reset fixture/shape 2019-02-24 19:24:51 -08:00
Ali Shakiba
ffe5a98898 deserialize 2019-02-02 10:58:01 -08:00
Ali Shakiba
bf46753cc1 rename serialize functions 2019-02-02 09:50:24 -08:00
Ali Shakiba
6d3d2fd503 serializer progress 2019-02-02 01:06:23 -08:00
Ali Shakiba
cdc898fa0e init serializer 2019-02-01 16:56:19 -08:00
Ali Shakiba
157be4f284 revert object reuse 2019-02-01 16:12:27 -08:00
Ali Shakiba
0bcf9faa53 reuse objects 2018-11-09 22:54:38 -08:00
Ali Shakiba
4d18c9d314 reuse objects 2018-11-09 18:06:37 -08:00
Ali Shakiba
59dd4b64a7 fix tslint 2018-10-21 18:19:38 -07:00
Ali Shakiba
8c4424971f do not set ContactID.key directly 2018-10-07 12:36:36 -07:00
Oliver Zell
79669d1cd0 remove headers from sub def files 2018-09-19 20:08:55 -07:00
Ali Shakiba
d580cd070e break down index.d.ts to smaller files 2018-09-19 20:08:53 -07:00
Ali Shakiba
7e3a4a7720 Typed mul mulT functions 2018-09-16 22:23:27 -07:00
Ali Shakiba
9e517719a4 undo merge AABB.combine and combinePoints 2018-09-12 23:50:16 -07:00
Ali Shakiba
e8a54ddc22 wSet/wAdd/wSub to combine and mul 2018-09-02 19:08:50 -07:00
Ali Shakiba
1eb2292e1a typescript cleanup 2018-08-19 20:25:54 -07:00
Ali Shakiba
6fe59ab0af merge AABB.combinePoints with AABB.combine 2018-08-19 19:00:11 -07:00
Ali Shakiba
cc56db8f0d remove old debug lines 2018-01-28 04:31:35 -08:00
Ali Shakiba
746b35cf5d fix debug/assert condition 2018-01-28 03:56:16 -08:00
Ali Shakiba
eb0ec99d1c add private setAsBox to polygon 2018-01-14 21:59:42 -08:00
Ali Shakiba
e9d361278c update license year 2017-12-24 21:35:02 -08:00
Ali Shakiba
50381499b1 define DEBUG and ASSERT if undefined 2017-12-24 21:33:33 -08:00
Ali Shakiba
dfb882d8b1 add setNest/setPrev to EdgeShape 2017-03-26 13:47:59 -04:00
Ali Shakiba
4a7827df93 bug fix 2017-03-22 13:52:04 -04:00
Ali Shakiba
1aa2e33fd3 rm circle setFuncions 2017-03-17 23:52:15 -04:00
Ali Shakiba
2e54e21bd5 use statically typed constructors 2017-03-11 09:13:19 -05:00
Ali Shakiba
346276961e add DEBUG and ASSERT 2017-03-11 05:30:07 -05:00