Blender V5.3
blender::TriIsectPrecomputed Struct Reference

Public Attributes

float edge [3][2]
float c [3]

Detailed Description

Precomputed edge vectors and constants for fast point-in-triangle test.

Definition at line 188 of file polyfill_2d.cc.

Member Data Documentation

◆ c

float blender::TriIsectPrecomputed::c[3]

Precomputed constants: c[i] = (edge[i].x * v[i].y) - v[i].x * edge[i].y.

Definition at line 192 of file polyfill_2d.cc.

Referenced by blender::tri_isect_precomputed_init(), and blender::tri_isect_precomputed_test().

◆ edge

float blender::TriIsectPrecomputed::edge[3][2]

Edge vectors: edge[i] = v[(i + 1) % 3] - v[i].

Definition at line 190 of file polyfill_2d.cc.

Referenced by blender::tri_isect_precomputed_init(), and blender::tri_isect_precomputed_test().


The documentation for this struct was generated from the following file: