ObjFace
gamnit :: ObjVertex :: defaultinit
gamnit :: ObjVertex :: normal_index
Normal index inObjDef::normals
, starting at 1
gamnit :: ObjVertex :: normal_index=
Normal index inObjDef::normals
, starting at 1
gamnit :: ObjVertex :: texture_coord_index
Texture coordinates index inObjDef::texture_coords
, starting at 1
gamnit :: ObjVertex :: texture_coord_index=
Texture coordinates index inObjDef::texture_coords
, starting at 1
gamnit :: ObjVertex :: vertex_point_index
Vertex coordinates index inObjDef::vertex_points
, starting at 1
gamnit :: ObjVertex :: vertex_point_index=
Vertex coordinates index inObjDef::vertex_points
, starting at 1
core :: Object :: class_factory
Implementation used byget_class
to create the specific class.
gamnit :: ObjVertex :: defaultinit
core :: Object :: defaultinit
core :: Object :: is_same_instance
Return true ifself
and other
are the same instance (i.e. same identity).
core :: Object :: is_same_serialized
Isself
the same as other
in a serialization context?
core :: Object :: is_same_type
Return true ifself
and other
have the same dynamic type.
gamnit :: ObjVertex :: normal_index
Normal index inObjDef::normals
, starting at 1
gamnit :: ObjVertex :: normal_index=
Normal index inObjDef::normals
, starting at 1
core :: Object :: output_class_name
Display class name on stdout (debug only).gamnit :: ObjVertex :: texture_coord_index
Texture coordinates index inObjDef::texture_coords
, starting at 1
gamnit :: ObjVertex :: texture_coord_index=
Texture coordinates index inObjDef::texture_coords
, starting at 1
gamnit :: ObjVertex :: vertex_point_index
Vertex coordinates index inObjDef::vertex_points
, starting at 1
gamnit :: ObjVertex :: vertex_point_index=
Vertex coordinates index inObjDef::vertex_points
, starting at 1
# Vertex composing a `ObjFace`
class ObjVertex
# Vertex coordinates index in `ObjDef::vertex_points`, starting at 1
var vertex_point_index = 0
# Texture coordinates index in `ObjDef::texture_coords`, starting at 1
var texture_coord_index: nullable Int = null
# Normal index in `ObjDef::normals`, starting at 1
var normal_index: nullable Int = null
end
lib/gamnit/model_parsers/obj.nit:242,1--252,3