Add initial prototype.
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
with
|
||||
openGL.Geometry;
|
||||
|
||||
|
||||
package openGL.Model.capsule.lit_textured
|
||||
--
|
||||
-- Models a lit and textured capsule.
|
||||
--
|
||||
is
|
||||
type Item is new Model.capsule.item with private;
|
||||
type View is access all Item'Class;
|
||||
|
||||
|
||||
---------
|
||||
--- Forge
|
||||
--
|
||||
|
||||
function new_Capsule (Radius : in Real;
|
||||
Height : in Real;
|
||||
Image : in asset_Name := null_Asset) return View;
|
||||
|
||||
--------------
|
||||
--- Attributes
|
||||
--
|
||||
|
||||
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;
|
||||
|
||||
|
||||
|
||||
private
|
||||
|
||||
type Item is new Model.capsule.item with
|
||||
record
|
||||
Radius : Real;
|
||||
Height : Real;
|
||||
|
||||
Image : asset_Name := null_Asset;
|
||||
end record;
|
||||
|
||||
end openGL.Model.capsule.lit_textured;
|
||||
Reference in New Issue
Block a user