R:/projects/actioncube/_svn/trunk/ac/source/src/vertmodel.h File Reference

This graph shows which files directly or indirectly include this file:


Classes

struct  vertmodel
struct  vertmodel::anpos
struct  vertmodel::bb
struct  vertmodel::tcvert
struct  vertmodel::lightvert
struct  vertmodel::tri
struct  vertmodel::dyncacheentry
struct  vertmodel::shadowcacheentry
struct  vertmodel::lightcacheentry
struct  vertmodel::mesh
struct  vertmodel::animinfo
struct  vertmodel::particleemitter
struct  vertmodel::tag
struct  vertmodel::linkedpart
struct  vertmodel::part
struct  vertmodel::part::shadowheader

Defines

#define iploop(body)
#define ip(p1, p2, t)   (p1+t*(p2-p1))
#define ip_v(p, c, t)   ip(p##1[i].c, p##2[i].c, t)
#define ip_v_ai(c)   ip(ip_v(pvert, c, prev->t), ip_v(vert, c, cur.t), ai_t)
#define ip(p1, p2, t)   (p1+t*(p2-p1))
#define ip_ai_tag(c)   ip( ip( tag1p->c, tag2p->c, prev->t), ip( tag1->c, tag2->c, cur.t), ai_t)
#define FILTER(c0, c1, c2, c3, c4, c5, c6, c7, c8)

Functions

 VARP (dynshadowsize, 4, 5, 8)
 VARP (aadynshadow, 0, 2, 3)
 VARP (saveshadows, 0, 1, 1)
 VARP (dynshadowquad, 0, 0, 1)
 VAR (shadowyaw, 0, 45, 360)
vec shadowdir (0, 0,-1)
vec shadowpos (0, 0, 0)
 VAR (dbgstenc, 0, 0, 2)
 VAR (dbgvlight, 0, 0, 1)
 VARP (mdldlist, 0, 1, 1)
 VARF (mdldyncache, 1, 2, 32, vertmodel::dynalloc.resize(mdldyncache<< 20))
 VARF (mdlstatcache, 1, 1, 32, vertmodel::statalloc.resize(mdlstatcache<< 20))

Variables

vec modelpos
float modelyaw
float modelpitch

Define Documentation

#define FILTER ( c0,
c1,
c2,
c3,
c4,
c5,
c6,
c7,
c8   ) 

Value:

{ \
                uint c = *src, \
                     val = (filter3x3[0]*(c0) + filter3x3[1]*(c1) + filter3x3[2]*(c2) + \
                            filter3x3[3]*(c3) + filter3x3[4]*(c4) + filter3x3[5]*(c5) + \
                            filter3x3[6]*(c6) + filter3x3[7]*(c7) + filter3x3[8]*(c8)); \
                *dst++ = val/filter3x3sum; \
                src++; \
                prev++; \
                next++; \
            }

#define ip ( p1,
p2,
t   )     (p1+t*(p2-p1))

#define ip ( p1,
p2,
t   )     (p1+t*(p2-p1))

#define ip_ai_tag ( c   )     ip( ip( tag1p->c, tag2p->c, prev->t), ip( tag1->c, tag2->c, cur.t), ai_t)

#define ip_v ( p,
c,
t   )     ip(p##1[i].c, p##2[i].c, t)

#define ip_v_ai ( c   )     ip(ip_v(pvert, c, prev->t), ip_v(vert, c, cur.t), ai_t)

#define iploop ( body   ) 

Value:

loopi(numverts) \
                { \
                    vec &v = buf[i]; \
                    body; \
                }


Function Documentation

vec shadowdir ( 0  ,
0  ,
-  1 
)

vec shadowpos ( 0  ,
0  ,
0   
)

VAR ( dbgvlight  ,
0  ,
0  ,
1   
)

VAR ( dbgstenc  ,
0  ,
0  ,
2   
)

VAR ( shadowyaw  ,
0  ,
45  ,
360   
)

VARF ( mdlstatcache  ,
1  ,
1  ,
32  ,
vertmodel::statalloc.  resizemdlstatcache<< 20 
)

VARF ( mdldyncache  ,
1  ,
2  ,
32  ,
vertmodel::dynalloc.  resizemdldyncache<< 20 
)

VARP ( mdldlist  ,
0  ,
1  ,
1   
)

VARP ( dynshadowquad  ,
0  ,
0  ,
1   
)

VARP ( saveshadows  ,
0  ,
1  ,
1   
)

VARP ( aadynshadow  ,
0  ,
2  ,
3   
)

VARP ( dynshadowsize  ,
4  ,
5  ,
8   
)


Variable Documentation

float modelpitch

float modelyaw


Generated on Mon Dec 8 21:41:33 2008 for AssaultCube by  doxygen 1.5.7.1