opengl.geometry: Add/use texturing support.

This commit is contained in:
Rod Kay
2023-05-05 03:13:07 +10:00
parent b9064c43c8
commit 2ac6d57a53
7 changed files with 254 additions and 357 deletions

View File

@@ -1,5 +1,5 @@
with
openGL.Geometry,
openGL.Geometry.texturing,
openGL.Texture;
@@ -13,10 +13,10 @@ is
type Face is
record
Texture_1 : openGL.asset_Name := null_Asset; -- The texture to be applied to the hex.
Texture_2 : openGL.asset_Name := null_Asset; -- The texture to be applied to the hex.
Fade_1 : openGL.Geometry.fade_Level := 0.5;
Fade_2 : openGL.Geometry.fade_Level := 0.5;
Texture_1 : openGL.asset_Name := null_Asset; -- The texture to be applied to the hex.
Texture_2 : openGL.asset_Name := null_Asset; -- The texture to be applied to the hex.
Fade_1 : openGL.Geometry.texturing.fade_Level := 0.5;
Fade_2 : openGL.Geometry.texturing.fade_Level := 0.5;
end record;