Blender
V3.3
source
blender
freestyle
intern
system
Cast.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later */
2
3
#pragma once
4
10
namespace
Freestyle
{
11
12
namespace
Cast {
13
template
<
class
T,
class
U>
U
*
cast
(
T
*in)
14
{
15
if
(!in) {
16
return
NULL
;
17
}
18
return
dynamic_cast<
U
*
>
(in);
19
}
20
}
// end of namespace Cast
21
22
}
/* namespace Freestyle */
NULL
return NULL
Definition:
bmesh_operator_api_inline.h:205
U
unsigned int U
Definition:
btGjkEpa3.h:78
T
#define T
Definition:
mball_tessellate.c:264
Freestyle::Cast::cast
U * cast(T *in)
Definition:
Cast.h:13
Freestyle
inherits from class Rep
Definition:
AppCanvas.cpp:18
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1