Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/nodes/node_texture_translate.c
| Show All 16 Lines | |||||
| * All rights reserved. | * All rights reserved. | ||||
| */ | */ | ||||
| /** \file | /** \file | ||||
| * \ingroup texnodes | * \ingroup texnodes | ||||
| */ | */ | ||||
| #include <math.h> | #include <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_RGBA, 1, N_("Color"), 0.0f, 0.0f, 0.0f, 1.0f}, | {SOCK_RGBA, 1, N_("Color"), 0.0f, 0.0f, 0.0f, 1.0f}, | ||||
| {SOCK_VECTOR, 1, N_("Offset"), 0.0f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f, PROP_TRANSLATION}, | {SOCK_VECTOR, 1, N_("Offset"), 0.0f, 0.0f, 0.0f, 0.0f, -10000.0f, 10000.0f, PROP_TRANSLATION}, | ||||
| {-1, 0, ""}, | {-1, 0, ""}, | ||||
| }; | }; | ||||
| Show All 39 Lines | |||||