Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const int SCREEN_CENTRE_X = 128;
- const itn SCREEN_CENTRE_Y = 88;
- int cube[12]={SCREEN_CENTRE_X+30,SCREEN_CENTRE_Y+30, 1,
- SCREEN_CENTRE_X+30,SCREEN_CENTRE_Y-30, 1,
- SCREEN_CENTRE_X-30,SCREEN_CENTRE_Y-30, 1,
- SCREEN_CENTRE_X-30,SCREEN_CENTRE_Y+30, 1};
- int cube_uv[8]={0,0, 31,0, 31, 31, 31, 0}; //Texture coordinates.
- //How mdo these work?
- //!
- int cube_csets[4]={0,0,0,0}; //Csets
- int textures[10]; //Holds textures.
- int tex_state; //Which texture to use this frame.
- int cube_tex[2]={2,2}; //Texture size.
- Screen->Quad3D(3,cube,cube_uv, cube_csets,cube_tex, 0, textures[tex_state], 0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement