- SCM
- vertex3d_position (SCM vertex) {
- irr::video::S3DVertex* s3dvertex = unwrap_vertex3d (vertex);
- return scm_from_vector3df (s3dvertex->Pos);
- }
+ if (!strcmp (type_name, "standard"))
+ {
+ type = video::EVT_STANDARD;
+ }
+ else if (!strcmp (type_name, "2tcoords"))
+ {
+ type = video::EVT_2TCOORDS;
+ }
+ else if (!strcmp (type_name, "tangents"))
+ {
+ type = video::EVT_TANGENTS;
+ }
+ else
+ {
+ scm_error (scm_arg_type_key, NULL, "Wrong vertex_type: ~S",
+ scm_list_1 (vertex_type), scm_list_1 (vertex_type));
+ }