mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
Renames the mesh api to the "vertex buffer api".
This better reflects the fact that the api manages sets of vertex attributes, and the attributes really have no implied form. It is only when you use the attributes to draw that they become mesh like; when you specify how they should be interpreted, e.g. as triangle lists or fans etc. This rename frees up the term "mesh", which can later be applied to a concept slightly more fitting. E.g. at some point it would be nice to have a higher level abstraction that sits on top of cogl vertex buffers that adds the concept of faces. (Somthing like Blender's mesh objects.) There have also been some discussions over particle engines, and these can be defined in terms of emitter faces; so some other kind of mesh abstraction might be usefull here.
This commit is contained in:
1633
clutter/cogl/common/cogl-vertex-buffer.c
Normal file
1633
clutter/cogl/common/cogl-vertex-buffer.c
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user