X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=share%2Fsolid.h;h=6038b8365c5730d93986e007e7281270e32222f6;hb=9173c3e24843b7d0843a3652dd0bdaf050d35178;hp=d31a2701c737a3d089e3fb2a2cb344898f8478b9;hpb=bdbe02e7fd69e48a627654a5ca276733f873a9a4;p=neverball diff --git a/share/solid.h b/share/solid.h index d31a270..6038b83 100644 --- a/share/solid.h +++ b/share/solid.h @@ -86,12 +86,14 @@ #define M_ADDITIVE 16 #define M_CLAMPED 32 #define M_DECAL 64 +#define M_TWO_SIDED 128 /* Billboard types. */ #define B_EDGE 1 #define B_FLAT 2 #define B_ADDITIVE 4 +#define B_NOFACE 8 /* Lump flags. */ @@ -253,6 +255,8 @@ struct s_ball float p[3]; /* position vector */ float v[3]; /* velocity vector */ float w[3]; /* angular velocity vector */ + float E[3][3]; /* basis of pendulum */ + float W[3]; /* angular pendulum velocity */ float r; /* radius */ };