Blender
V3.3
intern
cycles
util
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
11
CCL_NAMESPACE_BEGIN
12
13
#ifndef __KERNEL_GPU__
14
template
<
typename
T>
class
vector3
{
15
public
:
16
T
x
,
y
,
z
;
17
18
__forceinline
vector3
();
19
__forceinline
vector3
(
const
T
&
a
);
20
__forceinline
vector3
(
const
T
&
x
,
const
T
&
y
,
const
T
&
z
);
21
};
22
#endif
/* __KERNEL_GPU__ */
23
24
CCL_NAMESPACE_END
25
26
#endif
/* __UTIL_TYPES_VECTOR3_H__ */
vector3
Definition:
types_vector3.h:14
vector3::y
T y
Definition:
types_vector3.h:16
vector3::x
T x
Definition:
types_vector3.h:16
vector3::vector3
__forceinline vector3()
Definition:
types_vector3_impl.h:14
vector3::z
T z
Definition:
types_vector3.h:16
CCL_NAMESPACE_END
#define CCL_NAMESPACE_END
Definition:
cuda/compat.h:9
T
#define T
Definition:
mball_tessellate.c:264
CCL_NAMESPACE_BEGIN
Definition:
python.cpp:37
Freestyle::a
static unsigned a[3]
Definition:
RandGen.cpp:78
__forceinline
#define __forceinline
Definition:
oneapi/compat.h:189
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1