opengl: Rename 'openGL.Geometry.texturing' to 'openGL.texturing'.

This commit is contained in:
Rod Kay
2023-05-16 17:17:28 +10:00
parent 65ac65b204
commit 640c3f4790
15 changed files with 312 additions and 73 deletions

View File

@@ -19,6 +19,8 @@ is
use GL.lean,
GL.Pointers,
openGL.texturing,
Interfaces,
System;
@@ -167,7 +169,7 @@ is
--- Texturing
--
procedure Fade_is (Self : in out Item; Which : texture_ID; Now : in Geometry.texturing.fade_Level)
procedure Fade_is (Self : in out Item; Which : texturing.texture_ID; Now : in texturing.fade_Level)
is
begin
Self.Textures.Textures (Which).Fade := Now;
@@ -175,7 +177,7 @@ is
function Fade (Self : in Item; Which : texture_ID) return Geometry.texturing.fade_Level
function Fade (Self : in Item; Which : texturing.texture_ID) return texturing.fade_Level
is
begin
return Self.Textures.Textures (Which).Fade;
@@ -185,7 +187,6 @@ is
procedure Texture_is (Self : in out Item; Which : texture_ID; Now : in openGL.Texture.Object)
is
use openGL.Geometry.texturing;
begin
Texture_is (in_Set => Self.Textures,
Which => Which,
@@ -197,8 +198,8 @@ is
function Texture (Self : in Item; Which : texture_ID) return openGL.Texture.Object
is
begin
return openGL.Geometry.texturing.Texture (in_Set => Self.Textures,
Which => Which);
return openGL.texturing.Texture (in_Set => Self.Textures,
Which => Which);
end Texture;
@@ -206,7 +207,6 @@ is
overriding
procedure Texture_is (Self : in out Item; Now : in openGL.Texture.Object)
is
use openGL.Geometry.texturing;
begin
Texture_is (in_Set => Self.Textures,
Now => Now);
@@ -218,8 +218,8 @@ is
function Texture (Self : in Item) return openGL.Texture.Object
is
begin
return openGL.Geometry.texturing.Texture (in_Set => Self.Textures,
Which => 1);
return openGL.texturing.Texture (in_Set => Self.Textures,
which => 1);
end Texture;
@@ -227,7 +227,6 @@ is
overriding
procedure enable_Texture (Self : in out Item)
is
use openGL.Geometry.texturing;
begin
enable (Self.Textures, Self.Program);
end enable_Texture;