Deprecated: Function utf8_encode() is deprecated since 8.2, visit the php.net documentation for various alternatives in /home/anthropoya/www/explorer/text.php on line 55
// Load index data DWORD* indices = new DWORD[numTriangles*3]; UINT* attributeBuffer = new UINT[numTriangles]; fin >> ignore; // triangles header text for(UINT i = 0; i < numTriangles; ++i) { fin >> indices[i*3+0]; fin >> indices[i*3+1]; fin >> indices[i*3+2]; fin >> attributeBuffer[i]; }