source: proiecte/pmake3d/make3d_original/Make3dSingleImageStanford_version0.1/third_party/vrippack-0.31/src/softrender/sl_common.H @ 37

Last change on this file since 37 was 37, checked in by (none), 14 years ago

Added original make3d

File size: 1.6 KB
Line 
1/*
2
3Homan Igehy
4
5Computer Graphics Laboratory
6Stanford University
7
8---------------------------------------------------------------------
9
10Copyright (1997) The Board of Trustees of the Leland Stanford Junior
11University. Except for commercial resale, lease, license or other
12commercial transactions, permission is hereby given to use, copy,
13modify this software for academic purposes only.  No part of this
14software or any derivatives thereof may be used in the production of
15computer models for resale or for use in a commercial
16product. STANFORD MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND
17CONCERNING THIS SOFTWARE.  No support is implied or provided.
18
19*/
20
21
22/*
23 * sl_common.H
24 *
25 */
26
27
28
29#ifndef SL_COMMON_H
30#define SL_COMMON_H
31
32
33
34#include "sl_val.H"
35#include "sl_vertex.H"
36#include "sl_texture.H"
37#include "sl_framebuffer.H"
38#include "sl_hack.H"
39
40
41
42
43/////////////////////////////////////////////////////
44//  routines for scan converting given structures  //
45/////////////////////////////////////////////////////
46
47#ifdef jsasadj
48
49
50static inline void
51SL_ScanConvertRL(const SL_FullEdge &fe,
52                 const SL_SlopeEdge &se,
53                 const SL_MinEdge &me,
54                 Integer cur_y, const Integer y_mid, const Integer y_hi,
55                 const IN_Slope &inddx,
56                 const IS_CAttr &cattr,
57                 const FB_Buffer &buffer);
58
59static inline void
60SL_ScanConvertRL(const SL_FullEdge &fe,
61                 const SL_SlopeEdge &se,
62                 const SL_MinEdge &me,
63                 Integer cur_y, const Integer y_mid, const Integer y_hi,
64                 const IN_Slope &inddx,
65                 const IS_CAttr &cattr,
66                 const FB_Buffer &buffer);
67
68
69#endif
70
71/////////////////////////////////////////////////////
72
73
74
75
76
77
78#include "sl_common.I"
79
80#endif /* SL_COMMON_H */
Note: See TracBrowser for help on using the repository browser.