/usr/share/yorick/i/glcompat.i is in yorick-gl 1.1+cvs20070922+dfsg-4.
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 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 | /*
* $Id: glcompat.i,v 1.1.1.1 2005/09/18 22:07:49 dhmunro Exp $
* This file contains functions from earlier versions of
* yorgl that have been replaced or renamed. They are provided
* to allow earlier decks to run with newer versions of yorgl.
* Please do not rely on these functions for the long term -
* they may break at some point in the future.
*/
/* Copyright (c) 2005, The Regents of the University of California.
* All rights reserved.
* This file is part of yorick (http://yorick.sourceforge.net).
* Read the accompanying LICENSE file for details.
*/
func draw3(called_as_idler)
{
draw3d,called_as_idler;
}
func draw3_trigger
{
draw3d_trigger;
}
func clear3(void)
{
clear3d;
}
func clear3_direct(void)
{
clear3d_direct;
}
func clear3_cache(void)
{
clear3d_cache;
}
func gl_getbackrgb(void)
{
return getbackrgb3d();
}
func gl_getcage_rgb(void)
{
return getcage_rgb3d();
}
func gl_getgrid_rgb(void)
{
return getgrid_rgb3d();
}
func light3(ambient=,diffuse=,specular=,spower=,sdir=)
{
light3(ambient=ambient,diffuse=diffuse,specular=specular,
spower=spower,sdir=sdir);
}
func stdview3(dummy)
{
stdview3;
}
func prtview3
{
prtview3;
}
func lookat(eye,center,up)
{
return lookat3d(eye,center,up);
}
func get3lims(dummy)
{
return get3lims(dummy);
}
func get3_normal(xyz, nxyz)
{
return get_normal3d(xyz, nxyz);
}
func get3_centroid(xyz, nxyz)
{
return get_centroid3d(xyz, nxyz);
}
func pl3dpoly_gl(nv, xyz, color, norm, draw_edge=)
{
return plpoly3d(nv, xyz, color, norm, draw_edge=draw_edge);
}
func pl3dcell_gl(corners, color)
{
return plcell3d(corners, color);
}
func plm3d_gl(xyz, color)
{
return plm3d(xyz, color);
}
func plf3d_gl(xyz, color)
{
return plf3d(xyz, color);
}
func surf3d_gl(xyz, norm, color, flip=)
{
return plsurf3d(xyz, norm, color, flip=flip);
}
func colrsurf3d_gl(xyz, norm, color, flip=)
{
return plcolrsurf3d(xyz, norm, color, flip=flip);
}
func pl3dlines_gl(xyz, color)
{
return pllines3d(xyz, color);
}
func pl3dpoints_gl(xyz, color)
{
return plpoints3d(xyz, color);
}
func pl3dglyphs_gl(xyz, scal, theta, phi, color)
{
return plglyphs3d(xyz, scal, theta, phi, color);
}
func pl3dtrilists(tris,flip=,offset=,cubemap=,emit=)
{
return pltrilists3d(tris,flip=flip,offset=offset,cubemap=cubemap,emit=emit);
}
func pl3dtstrips_gl(nv, xyz, color, norm, draw_edge=)
{
return pltstrips3d(nv, xyz, color, norm, draw_edge=draw_edge);
}
func pl3dqstrips_gl(nv, xyz, color, norm, draw_edge=)
{
return plqstrips3d(nv, xyz, color, norm, draw_edge=draw_edge);
}
func pl3dtivstrips_gl(nv, ndx, xyz, norm, color, draw_edge=)
{
return pltivstrips3d(nv, ndx, xyz, norm, color, draw_edge=draw_edge);
}
func pl3dtarray_gl(xyz, norm, color, ntri, cubemap, emit, draw_edge=)
{
return pltarray3d(xyz, norm, color, ntri, cubemap, emit, draw_edge=draw_edge);
}
func pl3dqarray_gl(xyz, norm, color, nquad, draw_edge=)
{
return plqarray3d(xyz, norm, color, nquad, draw_edge=);
}
func pl3dtivarray_gl(ptndx, xyz, norm, color, ntri, nvert)
{
return pltivarray3d(ptndx, xyz, norm, color, ntri, nvert);
}
func putpix_gl(arr)
{
return putpix3d(arr);
}
func pl3dtexcell2_gl(delta, texval)
{
return pltex2dvol(delta, texval);
}
func pltex3d_gl(nslab, boxsiz, texval, origin=)
{
return pltex3dvol(nslab, boxsiz, texval, origin=origin);
}
|