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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-13 02:13:38 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-13 02:13:38 +0400
commit145289ad958e43b3f4f8475c581fca2180f6be88 (patch)
tree5f6d6081166a3459fb5beacd9fa99f62d33000fb /source/blender/blenlib/intern/graph.c
parenta88f910b9a21e284a2d742213f7c01ed13ddd751 (diff)
code cleanup: minor improvements to float/vector usage.
Diffstat (limited to 'source/blender/blenlib/intern/graph.c')
-rw-r--r--source/blender/blenlib/intern/graph.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/blenlib/intern/graph.c b/source/blender/blenlib/intern/graph.c
index 8eaf793ad5e..51d7cb58b00 100644
--- a/source/blender/blenlib/intern/graph.c
+++ b/source/blender/blenlib/intern/graph.c
@@ -249,7 +249,7 @@ void BLI_removeDoubleNodes(BGraph *graph, float limit)
}
-BNode *BLI_FindNodeByPosition(BGraph *graph, float *p, float limit)
+BNode *BLI_FindNodeByPosition(BGraph *graph, const float p[3], const float limit)
{
BNode *closest_node = NULL, *node;
float min_distance = 0.0f;