-
Notifications
You must be signed in to change notification settings - Fork 4
Scraps
tracend edited this page Mar 7, 2013
·
2 revisions
This page intentionally left with commented out code to show the evolution of the syntax - till it was stabilised:
<script>
//var $3d =
$("#main").three({}, function($3d){
$3d.addScene().addCamera().addPlane({ id : "plane-name" }).addClass("blue");
});
/*
$3d.each(function(val, i) {
});
$.map( $3d, function(val, i) {
// do something
console.log(val);
});
*/
//$($3d.each()).addPlane();
//$("#main").three.addPlane(
//function()
//$3d.each(f){addPlane("plane").addClass("blue");
/*
$3d.add();
$3d = $("#main").three();
$("#main").three().add("model");
*/
</script>
and some of the test markup
<span class="mesh model actor user">
<div class="mesh model">
<section id="scene-1" class="scene skydome">
<article class="prefab">
<article class="prefab terrain">