CMS 3D CMS Logo

Public Member Functions | Public Attributes

materialEffect::Effect Struct Reference

#include <MaterialEffectsUpdator.h>

List of all members.

Public Member Functions

void combine (Effect const &e1, Effect const &e2)

Public Attributes

Covariance deltaCov
float deltaP = 0
float weight = 1.f

Detailed Description

Definition at line 41 of file MaterialEffectsUpdator.h.


Member Function Documentation

void materialEffect::Effect::combine ( Effect const &  e1,
Effect const &  e2 
) [inline]

Definition at line 47 of file MaterialEffectsUpdator.h.

References deltaCov, deltaP, and weight.

                                                      {
      weight *= e1.weight*e2.weight;
      deltaP+=e1.deltaP+e2.deltaP;
      deltaCov+=e1.deltaCov; deltaCov+=e2.deltaCov;
    } 

Member Data Documentation

Definition at line 46 of file MaterialEffectsUpdator.h.

Referenced by combine(), and MaterialEffectsUpdator::updateStateInPlace().

Definition at line 44 of file MaterialEffectsUpdator.h.

Referenced by combine(), and MaterialEffectsUpdator::updateStateInPlace().

Definition at line 42 of file MaterialEffectsUpdator.h.

Referenced by combine().