10#ifndef GRAPHICS_GSKINNEDMESH_H_
11#define GRAPHICS_GSKINNEDMESH_H_
32 void setVertexPosData(
int animationNo,
int frameNo,
int vertexNo,
const glm::vec3& newWeight);
33 void setVertexNormData(
int animationNo,
int frameNo,
int vertexNo,
const glm::vec3& newWeight);
36 void setVerticesData(
int animationNo,
int frameNo,
const std::vector<gVertex>&
vertices,
const std::vector<gIndex>& indices);
47 std::vector<glm::vec3> animatedPos;
48 std::vector<glm::vec3> animatedNorm;
50 std::vector<std::vector<std::vector<glm::vec3>>> animatedPosData;
51 std::vector<std::vector<std::vector<glm::vec3>>> animatedNormData;
52 std::vector<std::vector<std::unique_ptr<gVbo>>> vboframe;
55 bool isvertexanimated, isvertexanimationstoredonvram;
56 int frameno, framenoold;
std::shared_ptr< std::vector< gVertex > > vertices
Definition gMesh.h:114
Definition gMorphingMesh.h:27
Definition gSkinnedMesh.h:15
void setFrameNo(int frameNo)
const glm::vec3 & getVertexPos(int vertexNo) const
const glm::vec3 & getVertexNorm(int vertexNo) const
const glm::vec3 & getVertexPosData(int animationNo, int frameNo, int vertexNo) const
void setVertexPos(int vertexNo, const glm::vec3 &pos)
void resizeAnimation(int verticesNum)
void resetVertexAnimationData(int animationNo, int frameNo)
void setVertexNormData(int animationNo, int frameNo, int vertexNo, const glm::vec3 &newWeight)
void resizeVertexAnimationData(int animationNum, int frameNum, int verticesNum, bool isOnVram)
const std::vector< glm::vec3 > & getAnimatedNorm() const
const glm::vec3 & getVertexNormData(int animationNo, int frameNo, int vertexNo) const
void setVertexNorm(int vertexNo, const glm::vec3 &norm)
const std::vector< glm::vec3 > & getAnimatedPos() const
void setVerticesData(int animationNo, int frameNo, const std::vector< gVertex > &vertices, const std::vector< gIndex > &indices)
void setVertexPosData(int animationNo, int frameNo, int vertexNo, const glm::vec3 &newWeight)
void setVertexAnimationStoredOnVram(bool isVertexAnimationStoredOnVram)
void setVertexAnimated(bool isVertexAnimated)