Difference between revisions of "3D Space Example.as"

From Organic Design wiki
m
 
Line 1: Line 1:
 
{{legacy}}
 
{{legacy}}
<as>
+
<source lang="js">
 
Mouse.hide();
 
Mouse.hide();
 
#include "space.as"
 
#include "space.as"
Line 10: Line 10:
 
// Test object
 
// Test object
 
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );
 
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );
</as>
+
</source>

Latest revision as of 13:19, 6 August 2024

Legacy.svg Legacy: This article describes a concept that has been superseded in the course of ongoing development on the Organic Design wiki. Please do not develop this any further or base work on this concept, this is only useful for a historic record of work done. You may find a link to the currently used concept or function in this article, if not you can contact the author to find out what has taken the place of this legacy item.
Mouse.hide();
#include "space.as"

// Instantiate a new 3D-space
// - extends createEmptyMovieClip( name, layer )
createSymbol( _root, 'space', 'mySpace', 0 );

// Test object
mySpace.create( [ 'torus', 'myTorus', 5, 200, 2000 ] );