Blender
V4.3
intern
cycles
kernel
device
oneapi
Macros
context_begin.h File Reference
#include "
kernel/device/oneapi/image.h
"
Go to the source code of this file.
Macros
#
define
SET_CUBIC_SPLINE_WEIGHTS
(u, t)
Macro Definition Documentation
◆
SET_CUBIC_SPLINE_WEIGHTS
#
define
SET_CUBIC_SPLINE_WEIGHTS
(
u
,
t
)
Value:
{ \
u[0] = (((-1.0f / 6.0f) * t + 0.5f) * t - 0.5f) * t + (1.0f / 6.0f); \
u[1] = ((0.5f * t - 1.0f) * t) * t + (2.0f / 3.0f); \
u[2] = ((-0.5f * t + 0.5f) * t + 0.5f) * t + (1.0f / 6.0f); \
u[3] = (1.0f / 6.0f) * t * t * t; \
} \
(void)0
Generated on Sat Oct 4 2025 05:32:23 for Blender by
doxygen
1.14.0