Blender  V3.3
Public Member Functions | Public Attributes | List of all members
blender::compositor::ChunkOrderHotspot Struct Reference

#include <COM_ChunkOrderHotspot.h>

Public Member Functions

 ChunkOrderHotspot (int x, int y, float addition)
 
double calc_distance (int x, int y)
 

Public Attributes

int x
 
int y
 
float addition
 

Detailed Description

Definition at line 12 of file COM_ChunkOrderHotspot.h.

Constructor & Destructor Documentation

◆ ChunkOrderHotspot()

blender::compositor::ChunkOrderHotspot::ChunkOrderHotspot ( int  x,
int  y,
float  addition 
)
inline

Definition at line 17 of file COM_ChunkOrderHotspot.h.

Member Function Documentation

◆ calc_distance()

double blender::compositor::ChunkOrderHotspot::calc_distance ( int  x,
int  y 
)

Definition at line 9 of file COM_ChunkOrderHotspot.cc.

References addition, double(), result, sqrt(), x, and y.

Referenced by blender::compositor::ChunkOrder::update_distance().

Member Data Documentation

◆ addition

float blender::compositor::ChunkOrderHotspot::addition

Definition at line 15 of file COM_ChunkOrderHotspot.h.

Referenced by calc_distance().

◆ x

int blender::compositor::ChunkOrderHotspot::x

Definition at line 13 of file COM_ChunkOrderHotspot.h.

Referenced by calc_distance().

◆ y

int blender::compositor::ChunkOrderHotspot::y

Definition at line 14 of file COM_ChunkOrderHotspot.h.

Referenced by calc_distance().


The documentation for this struct was generated from the following files: