Blender V4.3
light_tree.cpp File Reference
#include "scene/light_tree.h"
#include "scene/mesh.h"
#include "scene/object.h"
#include "util/progress.h"

Go to the source code of this file.

Functions

OrientationBounds merge (const OrientationBounds &cone_a, const OrientationBounds &cone_b)
 
static void sort_leaf (const int start, const int end, LightTreeEmitter *emitters)
 
__forceinline LightTreeMeasure operator+ (const LightTreeMeasure &a, const LightTreeMeasure &b)
 
LightTreeBucket operator+ (const LightTreeBucket &a, const LightTreeBucket &b)
 
LightTreeLightLink operator+ (const LightTreeLightLink &a, const LightTreeLightLink &b)
 

Function Documentation

◆ merge()

◆ operator+() [1/3]

LightTreeBucket operator+ ( const LightTreeBucket & a,
const LightTreeBucket & b )

Definition at line 626 of file light_tree.cpp.

References b.

◆ operator+() [2/3]

LightTreeLightLink operator+ ( const LightTreeLightLink & a,
const LightTreeLightLink & b )

Definition at line 631 of file light_tree.cpp.

References LightTreeLightLink::add(), and b.

◆ operator+() [3/3]

__forceinline LightTreeMeasure operator+ ( const LightTreeMeasure & a,
const LightTreeMeasure & b )

Definition at line 619 of file light_tree.cpp.

References LightTreeMeasure::add(), and b.

◆ sort_leaf()

static void sort_leaf ( const int start,
const int end,
LightTreeEmitter * emitters )
static

Definition at line 242 of file light_tree.cpp.

References b, and LightTreeEmitter::light_set_membership.

Referenced by LightTree::build().