/usr/include/dx/light.h is in libdx4-dev 1:4.4.4-9+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 | /***********************************************************************/
/* Open Visualization Data Explorer */
/* (C) Copyright IBM Corp. 1989,1999 */
/* ALL RIGHTS RESERVED */
/* This code licensed under the */
/* "IBM PUBLIC LICENSE - Open Visualization Data Explorer" */
/***********************************************************************/
#if defined(__cplusplus) || defined(c_plusplus)
extern "C" {
#endif
#ifndef _DXI_LIGHT_H_
#define _DXI_LIGHT_H_
/* TeX starts here. Do not remove this comment. */
/*
\section{Light class}
\label{lightsec}
Light objects specify lights for shading. They may be placed in a
scene and transformed along with other objects in the scene, changing
for example their position.
*/
Light DXNewDistantLight(Vector direction, RGBColor color);
Light DXNewCameraDistantLight(Vector direction, RGBColor color);
/**
\index{DXNewDistantLight}
Creates a light object representing a point light source at infinity
in the specified direction. Returns the light, or returns null and
sets the error code to indicate an error.
**/
Light DXQueryDistantLight(Light l, Vector *direction, RGBColor *color);
Light DXQueryCameraDistantLight(Light l, Vector *direction, RGBColor *color);
/**
\index{DXQueryDistantLight}
Determines whether {\tt l} is a distant light and returns the
information specified when the light was created in {\tt *direction}
and {\tt *color}. Returns {\tt l}, or returns null but does not set
the error code if {\tt l} is not a distant light.
**/
Light DXNewAmbientLight(RGBColor color);
/**
\index{DXNewAmbientLight}
Creates a light object representing an ambient light source. Returns
the light, or returns null and sets the error code to indicate an
error.
**/
Light DXQueryAmbientLight(Light l, RGBColor *color);
/**
\index{DXQueryAmbientLight}
Determines whether {\tt l} is an ambient light and returns the
information specified when the light was created in {\tt *color}.
Returns {\tt l}, or returns null but does not set the error code if
{\tt l} is not a ambient light.
**/
#endif /* _DXI_LIGHT_H_ */
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif
|