Tachyon (current)  Current Main Branch
Data Fields
directional_light_t Struct Reference

#include <light.h>

Data Fields

RT_OBJECT_HEAD flt(* shade_diffuse )(struct directional_light_t *, shadedata *)
 diffuse shading function More...
 
vector dir
 lighting direction More...
 

Detailed Description

Definition at line 33 of file light.h.

Field Documentation

◆ dir

vector directional_light_t::dir

lighting direction

Definition at line 36 of file light.h.

Referenced by directional_light_shade_diffuse(), and newdirectionallight().

◆ shade_diffuse

RT_OBJECT_HEAD flt(* directional_light_t::shade_diffuse) (struct directional_light_t *, shadedata *)

diffuse shading function

Definition at line 35 of file light.h.

Referenced by newdirectionallight().


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