opengl: Rid 'Texture' and 'Texture_is' for texture_Sets.
This commit is contained in:
@@ -58,7 +58,9 @@ is
|
||||
:= Primitive.indexed.new_Primitive (triangle_Fan, the_Indices);
|
||||
|
||||
Id : texture_Set.texture_Id;
|
||||
|
||||
begin
|
||||
the_Geometry.Model_is (Self.all'unchecked_Access);
|
||||
the_Geometry.Vertices_are (Vertices);
|
||||
the_Geometry.add (Primitive.view (the_Primitive));
|
||||
|
||||
@@ -66,8 +68,8 @@ is
|
||||
loop
|
||||
Id := texture_Id (i);
|
||||
|
||||
the_Geometry.Fade_is (Which => Id,
|
||||
Now => Self.texture_Details.Fades (Id));
|
||||
-- the_Geometry.Fade_is (Which => Id,
|
||||
-- Now => Self.texture_Details.Fades (Id));
|
||||
|
||||
the_Geometry.Texture_is (Which => Id,
|
||||
Now => Textures.fetch (Self.texture_Details.Textures (i)));
|
||||
@@ -75,7 +77,6 @@ is
|
||||
end loop;
|
||||
|
||||
the_Geometry.is_Transparent (True); -- TODO: Do transparency properly.
|
||||
the_Geometry.Model_is (Self.all'unchecked_Access);
|
||||
|
||||
return the_Geometry;
|
||||
end new_Face;
|
||||
|
||||
Reference in New Issue
Block a user