Blender  V3.3
types_vector3.h
Go to the documentation of this file.
1 /* SPDX-License-Identifier: Apache-2.0
2  * Copyright 2011-2022 Blender Foundation */
3 
4 #ifndef __UTIL_TYPES_VECTOR3_H__
5 #define __UTIL_TYPES_VECTOR3_H__
6 
7 #ifndef __UTIL_TYPES_H__
8 # error "Do not include this file directly, include util/types.h instead."
9 #endif
10 
12 
13 #ifndef __KERNEL_GPU__
14 template<typename T> class vector3 {
15  public:
16  T x, y, z;
17 
19  __forceinline vector3(const T &a);
20  __forceinline vector3(const T &x, const T &y, const T &z);
21 };
22 #endif /* __KERNEL_GPU__ */
23 
25 
26 #endif /* __UTIL_TYPES_VECTOR3_H__ */
__forceinline vector3()
#define CCL_NAMESPACE_END
Definition: cuda/compat.h:9
#define T
static unsigned a[3]
Definition: RandGen.cpp:78
#define __forceinline