Расчет касательного и бикасательного векторов при загрузке модели

This commit is contained in:
2023-02-02 18:57:31 +03:00
parent 04ab88eb0e
commit 2aaf2b51b2
3 changed files with 51 additions and 1 deletions

View File

@@ -13,6 +13,8 @@
class Model genShpere(float radius, int sectorsCount, class Node* parent = NULL); // Генерирует сферу заданного радиуса с определенным количеством сегментов
void calc_tb(const GLuint* indices, const int indices_count, const glm::vec3* verteces, const glm::vec2* texCords, glm::vec3* tangent, glm::vec3* bitangent); // Расчет касательных и бикасательных векторов
// Класс узла сцены
class Node
{