Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Вращение вокруг осей x и z с ошибками в знаках #1

Open
Danilado opened this issue Mar 12, 2024 · 0 comments

Comments

@Danilado
Copy link

https://ru.wikipedia.org/wiki/Матрица_поворота#Матрица_поворота_в_трёхмерном_пространстве

point.y = (point.y - r_center.y) * r_cos + (point.z - r_center.z) * r_sin + r_center.y;

point.x = (point.x - r_center.x) * r_cos + (point.y - r_center.y)* r_sin + r_center.x;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant