Cleanup: Tweak naming for recently added mesh accessors

Use `verts` instead of `vertices` and `polys` instead of `polygons`
in the API added in 05952aa94d. This aligns better with
existing naming where the shorter names are much more common.
This commit is contained in:
Hans Goudey
2022-09-07 00:06:31 -05:00
parent 20daaeffce
commit be038b844c
174 changed files with 673 additions and 679 deletions

View File

@@ -30,7 +30,7 @@ class OpenVDBMeshAdapter {
};
OpenVDBMeshAdapter::OpenVDBMeshAdapter(const Mesh &mesh, float4x4 transform)
: vertices_(mesh.vertices()), loops_(mesh.loops()), transform_(transform)
: vertices_(mesh.verts()), loops_(mesh.loops()), transform_(transform)
{
/* This only updates a cache and can be considered to be logically const. */
const MLoopTri *looptris = BKE_mesh_runtime_looptri_ensure(&mesh);