Tachyon (current)  Current Main Branch
tachyon_dep.h
Go to the documentation of this file.
1 /*
2  * tachyon_dep.h - Deprecated Tachyon APIs that have been replaced by
3  * newer APIs or improved functionality.
4  * Existing applications should be updated to avoid using
5  * these APIs as they will be removed in a future version.
6  *
7  * (C) Copyright 1994-2022 John E. Stone
8  * SPDX-License-Identifier: BSD-3-Clause
9  *
10  * $Id: tachyon_dep.h,v 1.4 2022/02/21 17:02:17 johns Exp $
11  *
12  */
13 
20 #if !defined(TACHYON_NO_DEPRECATED)
21 
22 #if !defined(TACHYON_DEP_H)
23 #define TACHYON_DEP_H 1
24 
25 #ifdef __cplusplus
26 extern "C" {
27 #endif
28 
29 
30 
38 void rt_camera_setup(SceneHandle, flt zoom, flt aspect,
39  int alias, int maxdepth,
40  apivector ctr, apivector viewdir, apivector updir);
41 
48 void rt_define_image(const char *name, int xsize, int ysize, int zsize,
49  unsigned char *rgb24data);
50 
53  flt topval, flt botval,
54  apicolor topcolor, apicolor botcolor);
55 
56 
57 #ifdef __cplusplus
58 }
59 #endif
60 #endif
61 
62 #endif
63 
void rt_background_sky_sphere(SceneHandle, apivector up, flt topval, flt botval, apicolor topcolor, apicolor botcolor)
Set parameters for sky sphere background texturing.
Definition: api.c:539
void rt_camera_setup(SceneHandle, flt zoom, flt aspect, int alias, int maxdepth, apivector ctr, apivector viewdir, apivector updir)
Define a camera for a perspective projection, given the specified zoom factor, aspect ratio...
Definition: api.c:229
double flt
generic floating point number, using double
Definition: tachyon.h:47
void * SceneHandle
Definition: tachyon.h:51
void rt_define_image(const char *name, int xsize, int ysize, int zsize, unsigned char *rgb24data)
Defines a named 1-D, 2-D, or 3-D texture image with a 24-bit RGB image buffer, without any file refer...
Definition: api.c:956