Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/nodes/node_texture_distance.c
| Show All 17 Lines | |||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup texnodes | * \ingroup texnodes | ||||
| */ | */ | ||||
| #include <math.h> | #include <math.h> | ||||
| #include "BLI_math.h" | #include "BLI_math.h" | ||||
| #include "node_texture_util.h" | #include "node_texture_utils.h" | ||||
| #include "NOD_texture.h" | #include "NOD_texture.h" | ||||
| static bNodeSocketTemplate inputs[] = { | static bNodeSocketTemplate inputs[] = { | ||||
| {SOCK_VECTOR, 1, N_("Coordinate 1"), 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE}, | {SOCK_VECTOR, 1, N_("Coordinate 1"), 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE}, | ||||
| {SOCK_VECTOR, 1, N_("Coordinate 2"), 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE}, | {SOCK_VECTOR, 1, N_("Coordinate 2"), 0.0f, 0.0f, 0.0f, 0.0f, -1.0f, 1.0f, PROP_NONE}, | ||||
| {-1, 0, ""}, | {-1, 0, ""}, | ||||
| }; | }; | ||||
| Show All 36 Lines | |||||