Add initial prototype.

This commit is contained in:
Rod Kay
2022-07-31 17:34:54 +10:00
commit 54a53b2ac0
1421 changed files with 358874 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
with
float_Math.Geometry.d3.Modeller.Forge,
ada.text_IO;
procedure launch_basic_geometry_Demo
--
-- A simple demonstration of the geometry packages.
--
is
package Math renames float_Math;
use Math,
math.Geometry,
math.Geometry.d3.Modeller;
procedure log (Message : in String)
renames ada.text_IO.put_Line;
the_Modeller : d3.Modeller.item;
begin
declare
use float_math.Geometry.d3,
float_math.Geometry.d3.Modeller.Forge;
the_Model : float_math.Geometry.d3.a_Model := to_box_Model;
begin
log ("Box Model: " & Image (the_Model));
end;
declare
use float_math.Geometry.d3,
float_math.Geometry.d3.Modeller.Forge;
the_Model : float_math.Geometry.d3.a_Model := to_capsule_Model;
begin
log ("Capsule Model: " & Image (the_Model));
end;
end launch_basic_geometry_Demo;