Blender
V3.3
|
#include <mesh.h>
Public Member Functions | |
void | bounds_grow (const float3 *verts, BoundBox &bounds) const |
void | motion_verts (const float3 *verts, const float3 *vert_steps, size_t num_verts, size_t num_steps, float time, float3 r_verts[3]) const |
void | verts_for_step (const float3 *verts, const float3 *vert_steps, size_t num_verts, size_t num_steps, size_t step, float3 r_verts[3]) const |
float3 | compute_normal (const float3 *verts) const |
bool | valid (const float3 *verts) const |
Public Attributes | |
int | v [3] |
Definition at line 49 of file scene/mesh.h.
CCL_NAMESPACE_BEGIN void Mesh::Triangle::bounds_grow | ( | const float3 * | verts, |
BoundBox & | bounds | ||
) | const |
Definition at line 27 of file scene/mesh.cpp.
References Geometry::bounds, BoundBox::grow(), v, and verts.
Definition at line 82 of file scene/mesh.cpp.
References blender::math::cross(), len, make_float3, norm(), v, v1, v2, and verts.
Referenced by Mesh::add_face_normals(), Mesh::add_vertex_normals(), and mikk_get_normal().
void Mesh::Triangle::motion_verts | ( | const float3 * | verts, |
const float3 * | vert_steps, | ||
size_t | num_verts, | ||
size_t | num_steps, | ||
float | time, | ||
float3 | r_verts[3] | ||
) | const |
Definition at line 34 of file scene/mesh.cpp.
References min, t, time, verts, and verts_for_step().
Definition at line 95 of file scene/mesh.cpp.
References isfinite_safe(), v, and verts.
void Mesh::Triangle::verts_for_step | ( | const float3 * | verts, |
const float3 * | vert_steps, | ||
size_t | num_verts, | ||
size_t | num_steps, | ||
size_t | step, | ||
float3 | r_verts[3] | ||
) | const |
Definition at line 56 of file scene/mesh.cpp.
References offset, v, and verts.
Referenced by motion_verts().
int Mesh::Triangle::v[3] |
Definition at line 50 of file scene/mesh.h.
Referenced by Mesh::add_vertex_normals(), bounds_grow(), compute_normal(), GeometryManager::displace(), valid(), and verts_for_step().