diff options
author | Miika Hamalainen <blender@miikah.org> | 2011-06-16 16:00:03 +0400 |
---|---|---|
committer | Miika Hamalainen <blender@miikah.org> | 2011-06-16 16:00:03 +0400 |
commit | b937a4f5b6adc6bc0dca62cb5c87db08c873cfba (patch) | |
tree | f489aca8e10e2a686fc1d1397397f99e1e1f2077 /source/blender/blenlib/BLI_math_geom.h | |
parent | 3de22dec26606c2c526f7193db038fa5125f9b03 (diff) | |
parent | f227c4a064d96909243b4a60a7f6c544f521817a (diff) |
Merge with trunk r37546
Diffstat (limited to 'source/blender/blenlib/BLI_math_geom.h')
-rw-r--r-- | source/blender/blenlib/BLI_math_geom.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_math_geom.h b/source/blender/blenlib/BLI_math_geom.h index 3901ef9aff5..d83a2ac6ad5 100644 --- a/source/blender/blenlib/BLI_math_geom.h +++ b/source/blender/blenlib/BLI_math_geom.h @@ -163,6 +163,9 @@ void barycentric_transform(float pt_tar[3], float const pt_src[3], void barycentric_weights_v2(const float v1[2], const float v2[2], const float v3[2], const float co[2], float w[3]); +void resolve_tri_uv(float uv[2], const float st[2], const float st0[2], const float st1[2], const float st2[2]); +void resolve_quad_uv(float uv[2], const float st[2], const float st0[2], const float st1[2], const float st2[2], const float st3[2]); + /***************************** View & Projection *****************************/ void lookat_m4(float mat[4][4], float vx, float vy, |