Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gui] Add get_view_matrix() and get_projection_matrix() APIs for came…
…ra (#5345) * Add 2 new functions(get camera view/proj matrix) to Camera Class * expose 2 new functions(get camera view/proj matrix) to PyCamera * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * [gui] Add 2 new functions(get camera view/projection matrix) to Camera Class * [gui] expose 2 new functions(get camera view/projection matrix) of PyCamera Class * add a test for getting the view/projection matrix of camera * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * expose 2 new functions(get camera view/proj matrix) to PyCamera * Update taichi/python/export_ggui.cpp Co-authored-by: YuZhang <YuCrazing@users.noreply.github.com> * Update taichi/python/export_ggui.cpp Co-authored-by: YuZhang <YuCrazing@users.noreply.github.com> * Update taichi/python/export_ggui.cpp Co-authored-by: YuZhang <YuCrazing@users.noreply.github.com> * Update taichi/python/export_ggui.cpp Co-authored-by: YuZhang <YuCrazing@users.noreply.github.com> * Update taichi/python/export_ggui.cpp Co-authored-by: YuZhang <YuCrazing@users.noreply.github.com> * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * add test for get the view/projection matrix of camera * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: YuZhang <YuCrazing@users.noreply.github.com>
- Loading branch information