Skip to content

Instantly share code, notes, and snippets.

@secretrobotron
Created September 29, 2011 14:01
Show Gist options
  • Save secretrobotron/1250778 to your computer and use it in GitHub Desktop.
Save secretrobotron/1250778 to your computer and use it in GitHub Desktop.
CubicVR Wireframe Syntax
var boxMesh = new CubicVR.Mesh({
primitives:{
type: "box",
size: 1.0,
material: material3,
uvmapper: uvcubic
},
wireframe: {
enabled: true,
triangulate: true,
material: wireMaterial
}
});
@secretrobotron
Copy link
Author

var boxMesh = new CubicVR.Mesh({
primitives:{
type: "box",
size: 1.0,
material: material3,
uvmapper: uvcubic
},
wireframe: {
enabled: true,
triangulate: true,
material: wireMaterial
}
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment