Refactoring structs Part 1

This commit is contained in:
2021-05-20 22:20:52 -07:00
parent c19f7c1083
commit 5ae1f1c0d4
56 changed files with 484 additions and 422 deletions

View File

@ -1,27 +0,0 @@
/**
* Copyright (c) 2021 Dominic Masters
*
* This software is released under the MIT License.
* https://opensource.org/licenses/MIT
*/
#pragma once
#include "../../libs.h"
#include "../primitive.h"
#include "../texture.h"
#include "../tileset.h"
#define POSITION_DEBUG_FONT_CHARS_MAX 256
/** Struct representing a positionable object in space */
typedef struct {
primitive_t *primitive;
spritebatch_t *textBatch;
texture_t *textTexture;
tileset_t *textTileset;
float x, y, z;
float pitch, yaw, roll;
float scaleX, scaleY, scaleZ;
} positiondebug_t;