Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGermano <germano.costa@ig.com.br>2018-05-03 03:26:43 +0300
committerGermano <germano.costa@ig.com.br>2018-05-03 03:26:43 +0300
commite4774c0b2d02d3231c1bdc0097d879b77daa5651 (patch)
treeecd8b972fcca0f954b5ad9c4d0127910a35a3d11 /source/blender/blenkernel/intern/mball.c
parent36bbf8092903f55a317db94c4f7ca48c216b1a89 (diff)
Metaball: pointers used in `DRW_shgroup_call_dynamic_add` don't need to hold the reference.
Diffstat (limited to 'source/blender/blenkernel/intern/mball.c')
-rw-r--r--source/blender/blenkernel/intern/mball.c26
1 files changed, 0 insertions, 26 deletions
diff --git a/source/blender/blenkernel/intern/mball.c b/source/blender/blenkernel/intern/mball.c
index 47f15e99b5f..d7fb2d0a17b 100644
--- a/source/blender/blenkernel/intern/mball.c
+++ b/source/blender/blenkernel/intern/mball.c
@@ -550,32 +550,6 @@ void BKE_mball_eval_geometry(struct Depsgraph *UNUSED(depsgraph),
/* Draw Engine */
-/* use for draw-manager only. */
-void BKE_mball_element_calc_scale_xform(float r_scale_xform[3][4],
- const float obmat[4][4],
- const float local_pos[3])
-{
- float world_pos[3], scamat[3][3];
- mul_v3_m4v3(world_pos, obmat, local_pos);
- copy_m3_m4(scamat, obmat);
- {
- /* Get the normalized inverse matrix to extract only
- * the scale of Scamat */
- float iscamat[3][3];
- invert_m3_m3(iscamat, scamat);
- normalize_m3(iscamat);
- mul_m3_m3_post(scamat, iscamat);
- }
-
- copy_v3_v3(r_scale_xform[0], scamat[0]);
- copy_v3_v3(r_scale_xform[1], scamat[1]);
- copy_v3_v3(r_scale_xform[2], scamat[2]);
-
- r_scale_xform[0][3] = world_pos[0];
- r_scale_xform[1][3] = world_pos[1];
- r_scale_xform[2][3] = world_pos[2];
-}
-
void (*BKE_mball_batch_cache_dirty_cb)(MetaBall *mb, int mode) = NULL;
void (*BKE_mball_batch_cache_free_cb)(MetaBall *mb) = NULL;