opengl.model.polygon.lit_textured: Use model texturing mixin.
This commit is contained in:
@@ -213,7 +213,7 @@ is
|
||||
the_textured_hexagon_Model : constant Model.hexagon.lit_textured.view
|
||||
:= Model.hexagon.lit_textured.new_Hexagon (Radius => 0.5,
|
||||
Face => (Fades => [1 => 0.0, others => <>],
|
||||
Textures => (1 => the_Texture, others => <>),
|
||||
Textures => [1 => the_Texture, others => <>],
|
||||
texture_Count => 1,
|
||||
texture_Applies => <>,
|
||||
Animation => null));
|
||||
@@ -263,7 +263,7 @@ is
|
||||
-- Textures => (1 => the_Texture, others => <>),
|
||||
-- texture_Tiling => <>,
|
||||
-- texture_Count => 1));
|
||||
Face => (Texture_Details => (openGL.texture_Set.to_Details ([1 => the_Texture]))));
|
||||
texture_Details => (openGL.texture_Set.to_Details ([1 => the_Texture])));
|
||||
|
||||
the_text_Model : constant Model.Text.lit_colored.view
|
||||
:= Model.Text.lit_colored.new_Text (Text => "Once upon a midnight dreary ...",
|
||||
|
||||
Reference in New Issue
Block a user