This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-libzoom/zoom/light.h

23 lines
323 B
C
Raw Normal View History

#ifndef ZOOM_LIGHT_H
#define ZOOM_LIGHT_H
#include <zoom/types.h>
#define LIGHT_UNKNOWN 0
#define LIGHT_POINT 1
#define LIGHT_DIRECTIONAL 2
#define LIGHT_SPOT 3
typedef struct _LIGHT {
unsigned char type;
COLOR diffuse;
VERTEX pos;
} LIGHT;
void SetAmbient(COLOR);
void AddLight(LIGHT);
void ResetLights();
#endif