22#if !defined(__KERNEL_GPU__)
86static_assert(
sizeof(
packed_float3x3) == 36,
"packed_float3x3 expected to be exactly 36 bytes");
88#if defined __METAL_PRINTF__
89# define print_float3x3(label, a) \
90 metal::os_log_default.log_debug(label ":\n%.8f %.8f %.8f\n%.8f %.8f %.8f\n%.8f %.8f %.8f", \
103# ifdef __KERNEL_PRINTF__
104 printf(
"%s:\n%.8f %.8f %.8f\n%.8f %.8f %.8f\n%.8f %.8f %.8f\n",
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
#define util_assert(statement)
#define ccl_device_inline
#define ccl_device_inline_method
#define CCL_NAMESPACE_END
CCL_NAMESPACE_BEGIN ccl_device_inline float3 zero_float3()
__forceinline float3 & operator[](int i)
__forceinline const float3 & operator[](int i) const
ccl_device_inline_method packed_float3x3 operator=(const float3x3 a)
ccl_device_inline_method packed_float3x3(const float3x3 m)
packed_float3x3()=default
ccl_device_inline void print_float3x3(const ccl_private char *label, const float3x3 a)
ccl_device_inline float3x3 identity_float3x3()
ccl_device_inline float3x3 zero_float3x3()
ccl_device_inline float3x3 make_float3x3(const float3 x, const float3 y, const float3 z)