|
#ifndef LIB3DS_LIGHT_TYPE_H
#define LIB3DS_LIGHT_TYPE_H
#include <QString>
/** Light object */
typedef struct Lib3dsLight_setting {
unsigned user_id;
void* user_ptr;
unsigned object_flags;
int spot_light; /* bool */
int see_cone;
float color[3];
float position[3];
float target[3];
float roll;
int off; /* bool */
float outer_range;
float inner_range;
float multiplier;
/*const char** excludes;*/
float attenuation;
int rectangular_spot; /* bool */
int shadowed; /* bool */
float shadow_bias;
float shadow_filter;
int shadow_size;
float spot_aspect;
int use_projector;
int spot_overshoot; /* bool */
int ray_shadows; /* bool */
float ray_bias;
float hotspot;
float falloff;
} Lib3dsLight_setting;
/** Light object */
typedef struct Lib3dsLight {
Lib3dsLight_setting setting;
QString projector;
QString name;
} Lib3dsLight;
#endif // LIB3DS_LIGHT_TYPE_H
|
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please
let us know and we'll add colourisation support for it.
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.