ripe-tech / ripe-sdk

The public Javascript SDK for RIPE Core
https://www.platforme.com
Apache License 2.0
8 stars 4 forks source link

#429 Add `toXYZObject`, `toVector3` and `toToneMappingValue` utils #440

Closed NFSS10 closed 1 year ago

NFSS10 commented 1 year ago
- -
Issue https://github.com/ripe-tech/ripe-sdk/issues/429
Dependencies --
Decisions - Add toXYZObject() util. It is used to convert array of coordinates to {x, y, z} object.
- Add toVector3() util. It is used to convert array/object of coordinates to a Three.js Vector3 value.
- Add toToneMappingValue() util. It is used to convert a tone mapping string key to it's respective Three.js Value.