opengl.model.hexagon_column: Add new texturing.
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
with
|
||||
openGL.Geometry,
|
||||
openGL.Texture;
|
||||
openGL.Texture,
|
||||
openGL.Model.texturing;
|
||||
|
||||
|
||||
package openGL.Model.hexagon_Column.lit_textured_rounded
|
||||
@@ -10,7 +11,9 @@ package openGL.Model.hexagon_Column.lit_textured_rounded
|
||||
-- The shaft of the column appears rounded, whereas the top and bottom appear as hexagons.
|
||||
--
|
||||
is
|
||||
type Item is new Model.hexagon_Column.item with private;
|
||||
package textured_Model is new texturing.Mixin (Model.hexagon_Column.item);
|
||||
|
||||
type Item is new textured_Model.textured_Item with private;
|
||||
type View is access all Item'Class;
|
||||
|
||||
|
||||
@@ -51,11 +54,12 @@ is
|
||||
|
||||
private
|
||||
|
||||
type Item is new Model.hexagon_Column.item with
|
||||
type Item is new textured_Model.textured_Item with
|
||||
record
|
||||
upper_Face,
|
||||
lower_Face : hex_Face;
|
||||
Shaft : shaft_Face;
|
||||
end record;
|
||||
|
||||
|
||||
end openGL.Model.hexagon_Column.lit_textured_rounded;
|
||||
|
||||
Reference in New Issue
Block a user