Technically refactored.

This commit is contained in:
2021-11-14 22:42:10 -08:00
parent 54d01b5ed6
commit 9b4acae63c
74 changed files with 1161 additions and 744 deletions

View File

@ -7,7 +7,7 @@ cmake_minimum_required(VERSION 3.13)
set(CMAKE_C_STANDARD 99)
set(CMAKE_C_STANDARD_REQUIRED ON)
# Build Tool
# Texture Build Tool
project(texture_generation VERSION 1.0)
add_executable(texture_generation)
target_sources(texture_generation
@ -16,7 +16,7 @@ target_sources(texture_generation
../utils/file.c
../utils/image.c
)
target_include_directories(${PROJECT_NAME}
target_include_directories(texture_generation
PUBLIC
${CMAKE_CURRENT_LIST_DIR}/../
)

View File

@ -11,8 +11,4 @@
#include <stdlib.h>
#include <stdint.h>
#include <stdbool.h>
#include <string.h>
#include <stb_image.h>
#include <stb_image_resize.h>
#include <stb_image_write.h>
#include <string.h>

View File

@ -9,6 +9,10 @@
#include "common.h"
#include "file.h"
#include <stb_image.h>
#include <stb_image_resize.h>
#include <stb_image_write.h>
void imageCopy(
uint8_t *source, int32_t sourceWidth, int32_t sourceHeight,
uint8_t *dest, int32_t destWidth, int32_t destHeight,