opengl.model.polygon.lit_textured: Add 'Face' function.
This commit is contained in:
@@ -17,7 +17,7 @@ is
|
||||
--- Face
|
||||
--
|
||||
|
||||
type Face is
|
||||
type Face_t is
|
||||
record
|
||||
texture_Details : texture_Set.Details;
|
||||
end record;
|
||||
@@ -28,13 +28,15 @@ is
|
||||
--
|
||||
|
||||
function new_Polygon (vertex_Sites : in Vector_2_array;
|
||||
Face : in lit_textured.Face) return View;
|
||||
Face : in lit_textured.Face_t) return View;
|
||||
|
||||
|
||||
--------------
|
||||
--- Attributes
|
||||
--
|
||||
|
||||
function Face (Self : in Item) return Face_t;
|
||||
|
||||
overriding
|
||||
function to_GL_Geometries (Self : access Item; Textures : access Texture.name_Map_of_texture'Class;
|
||||
Fonts : in Font.font_id_Map_of_font) return Geometry.views;
|
||||
@@ -76,7 +78,7 @@ private
|
||||
vertex_Sites : Vector_2_array (1 .. 8);
|
||||
vertex_Count : Positive;
|
||||
|
||||
Face : lit_textured.Face;
|
||||
Face : lit_textured.Face_t;
|
||||
end record;
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user