mirror of
https://github.com/allankoechke/raylib-cpp.git
synced 2026-12-03 17:36:41 +00:00
Make set() function protected
This commit is contained in:
@@ -23,13 +23,6 @@ namespace raylib {
|
||||
Unload();
|
||||
}
|
||||
|
||||
inline void set(::ModelAnimation model) {
|
||||
boneCount = model.boneCount;
|
||||
bones = model.bones;
|
||||
frameCount = model.frameCount;
|
||||
framePoses = model.framePoses;
|
||||
}
|
||||
|
||||
GETTERSETTER(int,BoneCount,boneCount)
|
||||
GETTERSETTER(::BoneInfo*,Bones,bones)
|
||||
GETTERSETTER(int,FrameCount,frameCount)
|
||||
@@ -61,6 +54,14 @@ namespace raylib {
|
||||
inline bool IsModelAnimationValid(::Model model) {
|
||||
return ::IsModelAnimationValid(model, *this);
|
||||
}
|
||||
|
||||
protected:
|
||||
inline void set(::ModelAnimation model) {
|
||||
boneCount = model.boneCount;
|
||||
bones = model.bones;
|
||||
frameCount = model.frameCount;
|
||||
framePoses = model.framePoses;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user