le3d - LightEngine 3D
A straightforward C++ 3D software engine for real-time graphics
Classes | Enumerations
trilist.h File Reference

LightEngine 3D: Triangle lists. More...

#include "global.h"
#include "config.h"
#include "color.h"

Go to the source code of this file.

Classes

struct  LeFog
 Represent a quadratic fog. More...
 
class  LeTriangle
 Represent a rasterizable triangle. More...
 
class  LeTriList
 Contain and manage triangle lists. More...
 

Enumerations

enum  LE_TRIANGLE_FLAGS {
  LE_TRIANGLE_DEFAULT = 0, LE_TRIANGLE_TEXTURED = 1, LE_TRIANGLE_MIPMAPPED = 2, LE_TRIANGLE_FOGGED = 4,
  LE_TRIANGLE_BLENDED = 8
}
 Rendering flags per triangle. More...
 

Detailed Description

LightEngine 3D: Triangle lists.

All platforms implementation

Author
Frederic Meslin (fred@.nosp@m.fred.nosp@m.slab..nosp@m.net) http://fredslab.net
Version
1.75

The MIT License (MIT) Copyright (c) 2015-2018 Frédéric Meslin

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Enumeration Type Documentation

Rendering flags per triangle.

Enumerator
LE_TRIANGLE_DEFAULT 

default triangle type

LE_TRIANGLE_TEXTURED 

apply single layer texturing

LE_TRIANGLE_MIPMAPPED 

apply mipmap filtering

LE_TRIANGLE_FOGGED 

apply per-fragment quadratic fog

LE_TRIANGLE_BLENDED 

apply alpha blending (for textures with alpha channel)