Go to the documentation of this file.00001 #ifndef OPENTISSUE_KINEMATICS_SKINNING_SKINNING_GPU_VERTEX_H
00002 #define OPENTISSUE_KINEMATICS_SKINNING_SKINNING_GPU_VERTEX_H
00003
00004
00005
00006
00007
00008
00009
00010 #include <OpenTissue/configuration.h>
00011
00012 namespace OpenTissue
00013 {
00014 namespace skinning
00015 {
00016
00017
00018
00019 #define BUFFER_OFFSET(bytes) ((GLubyte*) NULL + (bytes))
00020
00021 struct gpu_vertex
00022 {
00023 float vertex[4];
00024 float normal[3];
00025 float weight[4];
00026 float boneIdx[4];
00027 };
00028
00029 }
00030 }
00031
00032
00033 #endif