opengl.demos: Update code to use new openGL updates.
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
with openGL.texture_Set;
|
||||
with
|
||||
openGL.Camera,
|
||||
openGL.Palette,
|
||||
@@ -54,7 +55,8 @@ begin
|
||||
right => (colors => [others => (Red, Opaque)], texture_name => the_Face)]);
|
||||
|
||||
the_ball_Model : constant Model.Sphere.lit_colored_textured.view
|
||||
:= Model.Sphere.lit_colored_textured.new_Sphere (radius => 0.5);
|
||||
:= Model.Sphere.lit_colored_textured.new_Sphere (radius => 0.5,
|
||||
texture_Details => texture_Set.to_Details ([1 => the_Face]));
|
||||
|
||||
-- The Sprites.
|
||||
--
|
||||
|
||||
Reference in New Issue
Block a user