Working on model loading and added poker table
This commit is contained in:
27
include/dawn/display/debug/position.h
Normal file
27
include/dawn/display/debug/position.h
Normal file
@ -0,0 +1,27 @@
|
||||
/**
|
||||
* 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;
|
Reference in New Issue
Block a user