make pointers const for easier Swift compat
This commit is contained in:
@@ -10,9 +10,9 @@ typedef struct ResourceBuffer ResourceBuffer;
|
|||||||
/// [data]
|
/// [data]
|
||||||
///
|
///
|
||||||
struct BoneAnimation {
|
struct BoneAnimation {
|
||||||
const char** boneNames;
|
const char* const* const boneNames;
|
||||||
const char** meshNames;
|
const char* const* const meshNames;
|
||||||
float* data;
|
float* const data;
|
||||||
size_t numBones;
|
size_t numBones;
|
||||||
size_t numMeshTargets;
|
size_t numMeshTargets;
|
||||||
};
|
};
|
||||||
@@ -55,9 +55,9 @@ extern "C" {
|
|||||||
|
|
||||||
void set_animation(
|
void set_animation(
|
||||||
void* asset,
|
void* asset,
|
||||||
float* morphData,
|
float* const morphData,
|
||||||
int numMorphWeights,
|
int numMorphWeights,
|
||||||
BoneAnimation* boneAnimations,
|
BoneAnimation* const boneAnimations,
|
||||||
int numBoneAnimations,
|
int numBoneAnimations,
|
||||||
int numFrames,
|
int numFrames,
|
||||||
float frameLengthInMs
|
float frameLengthInMs
|
||||||
|
|||||||
Reference in New Issue
Block a user