geometry: properly reference memcpy usage (#7576)
This commit is contained in:
@@ -19,12 +19,13 @@
|
||||
#include <math/mat3.h>
|
||||
#include <math/norm.h>
|
||||
|
||||
|
||||
#include <meshoptimizer.h>
|
||||
#include <mikktspace/mikktspace.h>
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include <string.h> // memcpy
|
||||
|
||||
namespace filament::geometry {
|
||||
|
||||
using namespace filament::math;
|
||||
@@ -98,7 +99,7 @@ void MikktspaceImpl::setTSpaceBasic(SMikkTSpaceContext const* context, float con
|
||||
cursor += 36;
|
||||
for (auto [attribArray, attribStride, attribSize]: wrapper->mInputAttribArrays) {
|
||||
uint8_t const* input = pointerAdd(attribArray, vertInd, attribStride);
|
||||
std::memcpy(cursor, input, attribSize);
|
||||
memcpy(cursor, input, attribSize);
|
||||
cursor += attribSize;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user