diff options
author | mano-wii <germano.costa@ig.com.br> | 2017-07-11 19:47:28 +0300 |
---|---|---|
committer | mano-wii <germano.costa@ig.com.br> | 2017-07-11 19:47:28 +0300 |
commit | dd1edb0954b5441255b5a3616841228f466e448e (patch) | |
tree | da0948e2fae14b5e0f5cd2f584ed311081b0425d /source/blenderplayer | |
parent | 32edfd53d978b34c9eb528e705f29e3feb673d37 (diff) |
Snap System: Separate raycast functions from nearest2d functions
The only similarity between these functions is that both serve to snap.
However their codes are totally different from one another.
So by separating these functions, it:
- removes the need to put several conditions;
- simplifies and
- optimizes the code
Diffstat (limited to 'source/blenderplayer')
-rw-r--r-- | source/blenderplayer/bad_level_call_stubs/stubs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blenderplayer/bad_level_call_stubs/stubs.c b/source/blenderplayer/bad_level_call_stubs/stubs.c index d00c7b6a022..7ee0e75b2f7 100644 --- a/source/blenderplayer/bad_level_call_stubs/stubs.c +++ b/source/blenderplayer/bad_level_call_stubs/stubs.c @@ -553,7 +553,6 @@ SnapObjectContext *ED_transform_snap_object_context_create_view3d( void ED_transform_snap_object_context_destroy(SnapObjectContext *sctx) RET_NONE bool ED_transform_snap_object_project_ray_ex( struct SnapObjectContext *sctx, - const unsigned short snap_to, const struct SnapObjectParams *params, const float ray_start[3], const float ray_normal[3], float *ray_depth, /* return args */ |