Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 22, 2006, 4:19:27 PM (18 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: created skydome.[h,cc]

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/cloud_effect.h

    r8713 r8730  
    1111#include "sound_source.h"
    1212
    13 #include "world_entity.h"
     13#include "skydome.h"
    1414#include "material.h"
    1515#include "shader.h"
     
    3030#define at2(rx,ry) ( rx * q[0] + ry * q[1] )
    3131#define at3(rx,ry,rz) ( rx * q[0] + ry * q[1] + rz * q[2] )
    32 
    33 
    34 #define DTOR (PI/180.0f)
    35 #define SQR(x) (x*x)
    36 
    37 typedef struct {
    38   float x,y,z;
    39   unsigned int color;
    40   float u, v;
    41 } VERTEX;
    4232
    4333
     
    10090
    10191  // Material                 cloudMaterial;
     92  Skydome*         skydome;
    10293 
    10394  // SHADER STUFF
     
    123114  int              B;
    124115  int              BM;
    125  
    126   // SKYPLANE STUFF
    127   VERTEX *planeVertices;
    128   int numPlaneVertices;
    129 
    130   int *indices;
    131   int numIndices;
    132 
    133   float pRadius;
    134  
    135   VERTEX *vertices;
    136   int numVertices;
    137116};
    138117
Note: See TracChangeset for help on using the changeset viewer.