Blender  V3.3
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 
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
Read Guarded memory(de)allocation.
ChunkOrderHotspot(int x, int y, float addition)