diff options
author | Frederico Linhares <fred@linhares.blue> | 2022-12-28 11:23:00 -0300 |
---|---|---|
committer | Frederico Linhares <fred@linhares.blue> | 2022-12-29 16:50:53 -0300 |
commit | b0b61c117c6e2bc7693802f005a2888e7cc073c2 (patch) | |
tree | c05f8f0174ca81fc9b2b2e623a6f8067369d874f /test | |
parent | 75337ae1c59e8b2c3bc6fbcd7ccafc7a8205d6b2 (diff) |
refa Use QOI image format for textures
Diffstat (limited to 'test')
-rw-r--r-- | test/src/main.rb | 2 | ||||
-rw-r--r-- | test/textures/color_texture.png | bin | 3594 -> 0 bytes | |||
-rw-r--r-- | test/textures/color_texture.qoi | bin | 0 -> 16062 bytes |
3 files changed, 1 insertions, 1 deletions
diff --git a/test/src/main.rb b/test/src/main.rb index 53e92a0..33d0b1d 100644 --- a/test/src/main.rb +++ b/test/src/main.rb @@ -23,7 +23,7 @@ def config() end def init() - texture = CandyGear::Texture.from_image("textures/color_texture.png"); + texture = CandyGear::Texture.from_image("textures/color_texture.qoi"); mesh = CandyGear::Mesh.new("meshes/cube.cgmesh"); $color = CandyGear::Vector3D.new(0.8, 0.2, 0.2); diff --git a/test/textures/color_texture.png b/test/textures/color_texture.png Binary files differdeleted file mode 100644 index 2c02811..0000000 --- a/test/textures/color_texture.png +++ /dev/null diff --git a/test/textures/color_texture.qoi b/test/textures/color_texture.qoi Binary files differnew file mode 100644 index 0000000..9fa7256 --- /dev/null +++ b/test/textures/color_texture.qoi |