Technically refactored.
This commit is contained in:
@ -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}/../
|
||||
)
|
||||
|
@ -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>
|
@ -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,
|
||||
|
Reference in New Issue
Block a user