naev 0.12.5
Light Struct Reference

Simple point/sun light model. More...

#include <gltf.h>

Collaboration diagram for Light:

Data Fields

int sun
vec3 pos
double intensity
vec3 colour

Detailed Description

Simple point/sun light model.

Definition at line 207 of file gltf.h.

Field Documentation

◆ colour

vec3 Light::colour

Light colour.

Definition at line 214 of file gltf.h.

◆ intensity

double Light::intensity

Radiosity of the lights.

Definition at line 213 of file gltf.h.

◆ pos

vec3 Light::pos

Position of the light in normalized coordinates, or orientation for pos (defined as vector from origin to opposite direction).

Definition at line 211 of file gltf.h.

◆ sun

int Light::sun

Whether or not it's a sun-type light source.

Definition at line 208 of file gltf.h.


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