Skip to content

Commit

Permalink
show ring-type disc in primitive-objects example
Browse files Browse the repository at this point in the history
Example json:

  {
      type: "disk",
      radius: 1.0,
      inner_radius: 0.5,
      rings: 12,
  }
  • Loading branch information
stepheneb committed Feb 4, 2011
1 parent 08e76ed commit d924b63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/examples/primitive-objects/primitive-objects.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,8 @@ SceneJS.createNode({
nodes: [
{
type: "disk",
radius: 1.0,
inner_radius: 0.5,
rings: 12,
}
]
Expand Down Expand Up @@ -209,6 +211,8 @@ SceneJS.createNode({

{
type: "disk",
radius: 1.0,
inner_radius: 0.5,
rings: 12,
}
]
Expand Down

0 comments on commit d924b63

Please sign in to comment.