/
redgpu
/
r500
Обзор
Документация
Войти
/
redgpu
/
r500
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
model/model2.h
20 строк
345 B
Zack Buhman
drm: add matrix_cubesphere
30 окт 2025, 18:53
30 окт 2025, 18:53
e27e0ef
Код
Авторство
О чём код?
struct index_ptn { uint16_t position; uint16_t texture; uint16_t normal; }; typedef index_ptn triangle_t[3]; struct object { const triangle_t * triangle; const int triangle_count; }; struct model { const vec3 * position; const vec2 * texture; const vec3 * normal; const struct object ** object; const int object_count; };