mirror of
https://github.com/lubosz/overte.git
synced 2025-04-10 20:43:39 +02:00
Update libraries/shared/src/BufferParser.h
Co-authored-by: David Rowe <david@ctrlaltstudio.com>
This commit is contained in:
parent
ed4164b59e
commit
fffb6619b3
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ template<>
|
|||
inline void BufferParser::readValue(QVector<glm::vec3>& result) {
|
||||
uint16_t length; readValue(length);
|
||||
result.resize(length);
|
||||
for(int i=0;i<length;i++) {
|
||||
for (int i=0; i<length; i++) {
|
||||
memcpy(glm::value_ptr(result[i]), _data + _offset + (sizeof(glm::vec3)*i), sizeof(glm::vec3) * length);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue