Blender
V3.3
source
blender
compositor
intern
COM_ChunkOrderHotspot.h
Go to the documentation of this file.
1
/* SPDX-License-Identifier: GPL-2.0-or-later
2
* Copyright 2011 Blender Foundation. */
3
4
#pragma once
5
6
#ifdef WITH_CXX_GUARDEDALLOC
7
# include "
MEM_guardedalloc.h
"
8
#endif
9
10
namespace
blender::compositor
{
11
12
struct
ChunkOrderHotspot
{
13
int
x
;
14
int
y
;
15
float
addition
;
16
17
ChunkOrderHotspot
(
int
x
,
int
y
,
float
addition
) :
x
(
x
),
y
(
y
),
addition
(
addition
)
18
{
19
}
20
21
double
calc_distance
(
int
x
,
int
y
);
22
23
#ifdef WITH_CXX_GUARDEDALLOC
24
MEM_CXX_CLASS_ALLOC_FUNCS(
"COM:ChunkOrderHotspot"
)
25
#endif
26
};
27
28
}
// namespace blender::compositor
MEM_guardedalloc.h
Read Guarded memory(de)allocation.
blender::compositor
Definition:
COM_defines.h:10
blender::compositor::ChunkOrderHotspot
Definition:
COM_ChunkOrderHotspot.h:12
blender::compositor::ChunkOrderHotspot::calc_distance
double calc_distance(int x, int y)
Definition:
COM_ChunkOrderHotspot.cc:9
blender::compositor::ChunkOrderHotspot::addition
float addition
Definition:
COM_ChunkOrderHotspot.h:15
blender::compositor::ChunkOrderHotspot::ChunkOrderHotspot
ChunkOrderHotspot(int x, int y, float addition)
Definition:
COM_ChunkOrderHotspot.h:17
blender::compositor::ChunkOrderHotspot::y
int y
Definition:
COM_ChunkOrderHotspot.h:14
blender::compositor::ChunkOrderHotspot::x
int x
Definition:
COM_ChunkOrderHotspot.h:13
Generated on Sat Jul 27 2024 14:57:55 for Blender by
doxygen
1.9.1