comparison Outdoor.h @ 676:ecfb1b3c9a39

BLV: when standing right on the portal (orange wall) everything looks fine
author Nomad
date Fri, 15 Mar 2013 04:13:24 +0200
parents ccf8b4815a1f
children 8b29c4121f6f
comparison
equal deleted inserted replaced
675:92c1e1250e7c 676:ecfb1b3c9a39
78 78
79 static bool IsBackfaceCulled(struct ODMFace *a1, struct RenderVertexSoft *a2, struct stru148 *a3); 79 static bool IsBackfaceCulled(struct ODMFace *a1, struct RenderVertexSoft *a2, struct stru148 *a3);
80 80
81 inline bool Invisible() const {return uAttributes & FACE_INVISIBLE;} 81 inline bool Invisible() const {return uAttributes & FACE_INVISIBLE;}
82 inline bool Visible() const {return !Invisible();} 82 inline bool Visible() const {return !Invisible();}
83 inline bool TwoSided() const {return uAttributes & FACE_TWO_SIDED;} 83 inline bool TwoSided() const {return uAttributes & FACE_PORTAL;}
84 84
85 struct Plane_int_ pFacePlane; 85 struct Plane_int_ pFacePlane;
86 int zCalc1; 86 int zCalc1;
87 int zCalc2; 87 int zCalc2;
88 int zCalc3; 88 int zCalc3;
89 unsigned int uAttributes; 89 unsigned int uAttributes;
90 unsigned __int16 pVertexIDs[20]; 90 unsigned __int16 pVertexIDs[20];
91 unsigned __int16 pTextureUIDs[20]; 91 unsigned __int16 pTextureUIDs[20];
92 unsigned __int16 pTextureVIDs[20]; 92 unsigned __int16 pTextureVIDs[20];
93 unsigned __int16 pXInterceptDisplacements[20]; 93 signed __int16 pXInterceptDisplacements[20];
94 unsigned __int16 pYInterceptDisplacements[20]; 94 signed __int16 pYInterceptDisplacements[20];
95 unsigned __int16 pZInterceptDisplacements[20]; 95 signed __int16 pZInterceptDisplacements[20];
96 unsigned __int16 uTextureID; 96 unsigned __int16 uTextureID;
97 __int16 sTextureDeltaU; 97 __int16 sTextureDeltaU;
98 __int16 sTextureDeltaV; 98 __int16 sTextureDeltaV;
99 struct BBox_short_ pBoundingBox; 99 struct BBox_short_ pBoundingBox;
100 __int16 sCogNumber; 100 __int16 sCogNumber;