Simply a polygon-class. More...
ctor.
creates an exact copy. Only difference is the parent pointer.
sets the transparency for the whole polygon, and sets the bits for alpha-channel based transparency
If argument is 255, disables transparency and clears the transparency-bits
sets the surface type for the polygon
number of vertices for this polygon
obsolete
returns the vertex index indicated by the argument.
advantage is that it "wraps over": For a triangle, vertidx(0), vertidx(3) and vertidx(-3) return all the same
[private]
hack: heuristic to detect whether the poly belongs to the lego part "blue wall". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "ceiling lamps". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "green floor". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "outside floor". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "room wall". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "box pile". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "car images". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "pipe end". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "bridge ceiling". Simply calls isInTexture().
For internal use only.
[private]
hack: heuristic to detect whether the poly belongs to the lego part "bridge railing". Simply calls isInTexture().
For internal use only.
surface type as written to the .ncp file, or SURF_NOCOLL
for non-solid polys
extra bits to include in the .ncp file