3 #pragma MSP stage(vertex)
4 virtual vec4 get_vertex_position()
9 virtual mat4 get_vertex_transform()
11 return world_obj_matrix;
14 virtual void clipping(vec3 eye_vertex)
20 vec4 eye_vertex = eye_world_matrix*get_vertex_transform()*get_vertex_position();
21 clipping(eye_vertex.xyz);
22 gl_Position = clip_eye_matrix*eye_vertex;