Показать сообщение отдельно
Старый 27.04.2012, 17:34   #2
HolyDel
 
Регистрация: 26.09.2006
Сообщений: 6,035
Написано 1,474 полезных сообщений
(для 2,707 пользователей)
Ответ: Вспомогательные функции

void getMeshInformation(Mesh* mesh,size_t &vertex_count,Vector3* &vertices,
    size_t &index_count, unsigned* &indices,
    const Vector3 &position = Vector3::ZERO,
    const Quaternion &orient = Quaternion::IDENTITY,const Vector3 &scale = Vector3::UNIT_SCALE)
wtf?
пример использования этой функции в студию.

уж не так ли?
int count_vertices = 0;
int count_indices = 0;
Vector3 *vertices = new Vector3[100500/*wtf*/];
unsigned*intides= new unsigned[100500/*wtf*/];
getMeshInformation(mesh,count_vertices ,vertices , count_indices , indices);
(Offline)
 
Ответить с цитированием