|
Blender V5.0
|
#include "kernel/svm/types.h"#include "util/math.h"#include "util/transform.h"#include "util/types.h"Go to the source code of this file.
Functions | |
| CCL_NAMESPACE_BEGIN ccl_device float3 | svm_mapping (NodeMappingType type, const float3 vector, const float3 location, const float3 rotation, const float3 scale) |
| CCL_NAMESPACE_BEGIN ccl_device float3 svm_mapping | ( | NodeMappingType | type, |
| const float3 | vector, | ||
| const float3 | location, | ||
| const float3 | rotation, | ||
| const float3 | scale ) |
Definition at line 15 of file mapping_util.h.
References ccl_device, euler_to_transform(), make_float3(), NODE_MAPPING_TYPE_NORMAL, NODE_MAPPING_TYPE_POINT, NODE_MAPPING_TYPE_TEXTURE, NODE_MAPPING_TYPE_VECTOR, safe_divide(), safe_normalize(), transform_direction(), and transform_direction_transposed().
Referenced by MappingNode::constant_fold(), and svm_node_mapping().