|
Blender
V3.3
|
#include <mesh.h>
Public Member Functions | |
| bool | is_quad () |
| float3 | normal (const Mesh *mesh) const |
| int | num_ptex_faces () const |
Public Attributes | |
| int | start_corner |
| int | num_corners |
| int | shader |
| bool | smooth |
| int | ptex_offset |
Definition at line 85 of file scene/mesh.h.
|
inline |
Definition at line 92 of file scene/mesh.h.
References num_corners.
Referenced by Mesh::pack_patches(), DiagSplit::split_patches(), and Mesh::tessellate().
Definition at line 102 of file scene/mesh.cpp.
References blender::math::cross(), mesh, safe_normalize(), start_corner, v1, and v2.
Referenced by Mesh::add_vertex_normals(), mikk_get_normal(), and Mesh::tessellate().
|
inline |
Definition at line 97 of file scene/mesh.h.
References num_corners.
Referenced by Mesh::add_subd_face(), GeometryManager::device_update_mesh(), and GeometryManager::geom_calc_offset().
| int Mesh::SubdFace::num_corners |
Definition at line 87 of file scene/mesh.h.
Referenced by Mesh::add_vertex_normals(), create_edge_from_corner(), create_split_edge_from_corner(), Mesh::get_subd_face(), is_quad(), num_ptex_faces(), Mesh::pack_patches(), DiagSplit::split_ngon(), DiagSplit::split_patches(), and Mesh::tessellate().
| int Mesh::SubdFace::ptex_offset |
Definition at line 90 of file scene/mesh.h.
Referenced by Mesh::add_subd_face(), GeometryManager::device_update_mesh(), GeometryManager::geom_calc_offset(), Mesh::get_subd_face(), DiagSplit::split_ngon(), and Mesh::tessellate().
| int Mesh::SubdFace::shader |
Definition at line 88 of file scene/mesh.h.
Referenced by Mesh::get_subd_face(), and Mesh::tessellate().
| bool Mesh::SubdFace::smooth |
Definition at line 89 of file scene/mesh.h.
Referenced by Mesh::get_subd_face(), mikk_get_normal(), and Mesh::tessellate().
| int Mesh::SubdFace::start_corner |
Definition at line 86 of file scene/mesh.h.
Referenced by Mesh::add_vertex_normals(), create_edge_from_corner(), create_split_edge_from_corner(), Mesh::get_subd_face(), mikk_corner_index(), mikk_vertex_index(), normal(), Mesh::pack_patches(), DiagSplit::split_ngon(), and Mesh::tessellate().