7#ifndef __UTIL_TYPES_H__
8# error "Do not include this file directly, include util/types.h instead."
13#ifndef __KERNEL_NATIVE_VECTOR_TYPES__
42# ifndef __KERNEL_GPU__
54#if defined(__KERNEL_METAL__)
56#elif defined(__KERNEL_CUDA__) || defined(__KERNEL_ONEAPI__)
67 : x(px), y(py),
z(pz){};
84# ifndef __KERNEL_GPU__
90static_assert(
sizeof(
packed_int3) == 12,
"packed_int3 expected to be exactly 12 bytes");
blender::int3 packed_int3
btGeneric6DofConstraint & operator=(btGeneric6DofConstraint &other)
SIMD_FORCE_INLINE btVector3 & operator[](int i)
Get a mutable reference to a row of the matrix as a vector.
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
SIMD_FORCE_INLINE const btScalar & w() const
Return the w value.
#define ccl_device_inline
#define CCL_NAMESPACE_END
#define ccl_device_inline_method
#define ccl_try_align(...)
ccl_device_inline_method packed_int3()
ccl_device_inline_method packed_int3 & operator=(const int3 &a)
ccl_device_inline_method packed_int3(const int3 &a)
ccl_device_inline_method packed_int3(const int px, const int py, const int pz)
__forceinline int operator[](int i) const
ccl_device_inline void print_int3(ccl_private const char *label, const int3 a)
ccl_device_inline int3 make_int3(int x, int y, int z)