Skip to content

Commit

Permalink
remove old skybox
Browse files Browse the repository at this point in the history
  • Loading branch information
computermouth committed Nov 16, 2023
1 parent 3195399 commit a291ff7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
2 changes: 1 addition & 1 deletion c1k3-assets
Submodule c1k3-assets updated 2 files
+ blend/map1.blend
+6,255 −6,371 blend/map1.gltf
4 changes: 3 additions & 1 deletion entity_skybox.c
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ void entity_skybox_constructor(entity_t * e) {
void entity_skybox_init(entity_t * e) {
// todo
entity_set_model(e);
e->s = (vec3_t){0};
e->s = (vec3_t) {
0
};
}

void entity_skybox_update(entity_t * e) {
Expand Down
11 changes: 0 additions & 11 deletions map.c
Original file line number Diff line number Diff line change
Expand Up @@ -619,17 +619,6 @@ void map_draw() {
}
}

typedef struct {
vector * blocks;
uint8_t * e;
// map_entities and ref_entities is for new map format only
vector * map_entities; // entity_params_t
vector * ref_entities; // ref_entt_t
vector * ref_ent_index; // size_t
uint32_t e_size;
uint8_t cm[((map_size * map_size * map_size) >> 3)];
} map_ts;

void map_quit() {
uint32_t len = vector_size(map_data);
for(uint32_t i = 0; i < len; i++) {
Expand Down

0 comments on commit a291ff7

Please sign in to comment.