- Cal3D 0.11 API Reference -

coresubmorphtarget.h
1//****************************************************************************//
2// coresubmorphtarget.h //
3// Copyright (C) 2001, 2002 Bruno 'Beosil' Heidelberger //
4//****************************************************************************//
5// This library is free software; you can redistribute it and/or modify it //
6// under the terms of the GNU Lesser General Public License as published by //
7// the Free Software Foundation; either version 2.1 of the License, or (at //
8// your option) any later version. //
9//****************************************************************************//
10
11#ifndef CAL_CORESUBMORPHTARGET_H
12#define CAL_CORESUBMORPHTARGET_H
13
14
15#include "cal3d/global.h"
16#include "cal3d/vector.h"
17
18
19 class CAL3D_API CalCoreSubMorphTarget
20{
21 public:
22 struct BlendVertex
23 {
24 CalVector position;
25 CalVector normal;
26 };
27
28 public:
29 CalCoreSubMorphTarget() { }
30 ~CalCoreSubMorphTarget() { }
31
32 int getBlendVertexCount();
33 std::vector<BlendVertex>& getVectorBlendVertex();
34 bool reserve(int blendVertexCount);
35 bool setBlendVertex(int vertexId, const BlendVertex& vertex);
36
37 private:
38 std::vector<BlendVertex> m_vectorBlendVertex;
39};
40#endif
41//****************************************************************************//
CalCoreSubMorphTarget
Definition coresubmorphtarget.h:20
CalVector
The vector class.
Definition vector.h:37
CalCoreSubMorphTarget::BlendVertex
Definition coresubmorphtarget.h:23

Generated by The Cal3D Team with Doxygen 1.15.0