12345678910111213141516171819202122232425262728293031323334353637383940 |
- /*
- * 3D Engine
- * texture.h:
- * Based on pikuma.com 3D software renderer in C
- * Copyright (c) 2021 986-Studio. All rights reserved.
- *
- * Created by Manoël Trapier on 07/03/2021.
- */
- #ifndef THREEDENGINE_SOURCE_INCLUDE_TEXTURE_H
- #define THREEDENGINE_SOURCE_INCLUDE_TEXTURE_H
- #include <stdint.h>
- #include <display.h>
- /***********************************************************************************************************************
- * Data types
- **********************************************************************************************************************/
- typedef struct tex2_t
- {
- double u, v;
- } tex2_t;
- /***********************************************************************************************************************
- * Global variables
- **********************************************************************************************************************/
- extern int textureWidth;
- extern int textureHeight;
- extern const uint8_t REDBRICK_TEXTURE[];
- colour_t *meshTexture;
- /***********************************************************************************************************************
- * Prototypes
- **********************************************************************************************************************/
- #endif /* THREEDENGINE_SOURCE_INCLUDE_TEXTURE_H */
|