Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenlib/BLI_math_geom.h
| Show First 20 Lines • Show All 820 Lines • ▼ Show 20 Lines | |||||
| MINLINE float shell_v2v2_normalized_to_dist(const float a[2], const float b[2]); | MINLINE float shell_v2v2_normalized_to_dist(const float a[2], const float b[2]); | ||||
| MINLINE float shell_v3v3_mid_normalized_to_dist(const float a[3], const float b[3]); | MINLINE float shell_v3v3_mid_normalized_to_dist(const float a[3], const float b[3]); | ||||
| MINLINE float shell_v2v2_mid_normalized_to_dist(const float a[2], const float b[2]); | MINLINE float shell_v2v2_mid_normalized_to_dist(const float a[2], const float b[2]); | ||||
| /********************************* Cubic (Bezier) *******************************/ | /********************************* Cubic (Bezier) *******************************/ | ||||
| float cubic_tangent_factor_circle_v3(const float tan_l[3], const float tan_r[3]); | float cubic_tangent_factor_circle_v3(const float tan_l[3], const float tan_r[3]); | ||||
| /********************************** Geodesics *********************************/ | |||||
| float geodesic_distance_propagate_across_triangle( | |||||
| const float v0[3], const float v1[3], const float v2[3], const float dist1, const float dist2); | |||||
| /**************************** Inline Definitions ******************************/ | /**************************** Inline Definitions ******************************/ | ||||
| #if BLI_MATH_DO_INLINE | #if BLI_MATH_DO_INLINE | ||||
| # include "intern/math_geom_inline.c" | # include "intern/math_geom_inline.c" | ||||
| #endif | #endif | ||||
| #ifdef BLI_MATH_GCC_WARN_PRAGMA | #ifdef BLI_MATH_GCC_WARN_PRAGMA | ||||
| # pragma GCC diagnostic pop | # pragma GCC diagnostic pop | ||||
| #endif | #endif | ||||
| #ifdef __cplusplus | #ifdef __cplusplus | ||||
| } | } | ||||
| #endif | #endif | ||||