gradio/js/model3D
Mehdi Bahri 4ccb9a86f1
Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266)
* Allow setting alpha

* Allow setting beta and radius

* Formatting

* Change to tuple of (alpha, beta, radius)

* Renamed parameter

* Formatting

* add changeset

* add to update

* Change to tuple of (alpha, beta, radius)

* Renamed parameter

* Formatting

* Docstring for Model3D

* rename parameter

* add changeset

* type

* 180

* dupe

* 180

* linting

* lint

* lint

* add test

* Formatting in docstring + added what unit the angles are

* Added babylon types to model3d's package.json

* pnpm lockfile

* Type narrowing of helperCamera + assumed not null

* refactor

* docstring

* lint

* type checking

* fix test

---------

Co-authored-by: Mehdi <mehdi.bahri@epicgames.com>
Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
Co-authored-by: Abubakar Abid <abubakar@huggingface.co>
2023-08-29 17:02:05 -07:00
..
example Refactor component directories (#5074) 2023-08-03 23:01:18 +01:00
interactive Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266) 2023-08-29 17:02:05 -07:00
shared Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266) 2023-08-29 17:02:05 -07:00
static Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266) 2023-08-29 17:02:05 -07:00
CHANGELOG.md chore: update versions (#5177) 2023-08-23 15:41:08 -07:00
package.json Makes it possible to set the initial camera position for the Model3D component as a tuple of (alpha, beta, radius) (#5266) 2023-08-29 17:02:05 -07:00