picogl.utils.loader.object_data
Object Data
Representation of object data from an .loader file.
Example Usage:
# If raw_data.indices exists, keep it; otherwise ObjectData will generate it self.data = ObjectData(
vertices=raw_data.vertices, texcoords=raw_data.texcoords or [], normals=raw_data.normals, indices=getattr(raw_data, “indices”, None)
)
Classes
Object Data Class |