mirror of
https://github.com/Doodle3D/Doodle3D-Slicer.git
synced 2024-11-22 05:37:55 +01:00
updated read me
This commit is contained in:
parent
498708e4e4
commit
c63f50075f
@ -10,9 +10,12 @@ This is an example of code.
|
||||
var localIp = "192.168.5.1";
|
||||
var doodleBox = new D3D.Box(localIp);
|
||||
|
||||
var geometry = new THREE.TorusGeometry(40, 20, 10, 10);
|
||||
var geometry = new THREE.BoxGeometry(20, 20, 20, 1, 1, 1);
|
||||
var material = new THREE.MeshBasicMaterial({color: 0x000000, wireframe: true});
|
||||
var mesh = new THREE.Mesh(geometry, material);
|
||||
mesh.position.x = 100;
|
||||
mesh.position.z = 100;
|
||||
mesh.position.y = 10;
|
||||
|
||||
doodleBox.onload = function () {
|
||||
"use strict";
|
||||
|
Loading…
Reference in New Issue
Block a user