Changeset 3598 for trunk/src/opengl/mesa/3dfx/fxsanity.c
- Timestamp:
- May 23, 2000, 10:41:28 PM (25 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/opengl/mesa/3dfx/fxsanity.c
r2938 r3598 3 3 /* 4 4 * Mesa 3-D graphics library 5 * Version: 3. 15 * Version: 3.3 6 6 * 7 7 * Copyright (C) 1999 Brian Paul All Rights Reserved. … … 68 68 69 69 GLfloat area = ((v1->x - v3->x) * (v2->y - v3->y) - 70 70 (v1->y - v3->y) * (v2->x - v3->x)); 71 71 72 72 if (v1->x < 0 || v1->y < 0 || v1->x > WID || v1->y > HI || 73 73 v2->x < 0 || v2->y < 0 || v2->x > WID || v2->y > HI || 74 v3->x < 0 || v3->y < 0 || v3->x > WID || v3->y > HI) 74 v3->x < 0 || v3->y < 0 || v3->x > WID || v3->y > HI) 75 75 { 76 76 fprintf(stderr,"not clipped/set up!!!!!\n"); … … 94 94 if (print) { 95 95 fprintf(stderr,"v1: %f %f %f %f col %.0f %.0f %.0f %.0f t0 %f %f %f t1 %f %f %f\n", 96 97 98 99 96 v1->x, v1->y, v1->ooz, v1->oow, 97 v1->r, v1->g, v1->b, v1->a, 98 v1->tmuvtx[0].sow, v1->tmuvtx[0].tow, v1->tmuvtx[0].oow, 99 v1->tmuvtx[1].sow, v1->tmuvtx[1].tow, v1->tmuvtx[1].oow); 100 100 fprintf(stderr,"v2: %f %f %f %f col %.0f %.0f %.0f %.0f t0 %f %f %f t1 %f %f %f\n", 101 102 103 104 101 v2->x, v2->y, v2->ooz, v2->oow, 102 v2->r, v2->g, v2->b, v2->a, 103 v2->tmuvtx[0].sow, v2->tmuvtx[0].tow, v2->tmuvtx[0].oow, 104 v2->tmuvtx[1].sow, v2->tmuvtx[1].tow, v2->tmuvtx[1].oow); 105 105 fprintf(stderr,"v3: %f %f %f %f col %.0f %.0f %.0f %.0f t0 %f %f %f t1 %f %f %f\n", 106 107 108 109 106 v3->x, v3->y, v3->ooz, v3->oow, 107 v3->r, v3->g, v3->b, v3->a, 108 v3->tmuvtx[0].sow, v3->tmuvtx[0].tow, v3->tmuvtx[0].oow, 109 v3->tmuvtx[1].sow, v3->tmuvtx[1].tow, v3->tmuvtx[1].oow); 110 110 } 111 111 112 if (1) 112 if (1) 113 113 FX_grDrawTriangle(v1,v2,v3); 114 else 114 else 115 115 fprintf(stderr, "\n\n\n"); 116 116 } 117 117 118 #else 119 120 void gl_fxsanity_dummy() 121 { 122 } 123 118 124 #endif
Note:
See TracChangeset
for help on using the changeset viewer.