Changeset View
Changeset View
Standalone View
Standalone View
source/blender/nodes/texture/nodes/node_texture_scale.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" | ||||
| 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_("Scale"), 1.0f, 1.0f, 1.0f, 0.0f, -10.0f, 10.0f, PROP_XYZ}, | {SOCK_VECTOR, 1, N_("Scale"), 1.0f, 1.0f, 1.0f, 0.0f, -10.0f, 10.0f, PROP_XYZ}, | ||||
| {-1, 0, ""}, | {-1, 0, ""}, | ||||
| }; | }; | ||||
| static bNodeSocketTemplate outputs[] = { | static bNodeSocketTemplate outputs[] = { | ||||
| ▲ Show 20 Lines • Show All 43 Lines • Show Last 20 Lines | |||||