finish mesh creation

This commit is contained in:
UMW
2017-02-27 21:02:58 +08:00
parent 4045466f73
commit e80d3aa9d4
5 changed files with 81 additions and 20 deletions

View File

@@ -169,7 +169,7 @@ namespace pmx
void PmxVertex::Read(std::istream *stream, PmxSetting *setting)
{
stream->read((char*) this->positon, sizeof(float) * 3);
stream->read((char*) this->position, sizeof(float) * 3);
stream->read((char*) this->normal, sizeof(float) * 3);
stream->read((char*) this->uv, sizeof(float) * 2);
for (int i = 0; i < setting->uv; ++i)