Skip to content

Conversation

@IagoLast
Copy link
Contributor

Torus primitive was implemented, notice that tube attribute is not working yet, probably (not sure) because is not included in geometry schema.

I´ve created a simple example:
torus

(yep, it´s a face ^^)

@IagoLast IagoLast changed the title Create a torus primitve #155 Create a torus primitve #156 Mar 16, 2016
@IagoLast IagoLast changed the title Create a torus primitve #156 Create a torus primitve #155 Mar 16, 2016
@dmarcos
Copy link
Member

dmarcos commented Mar 17, 2016

looks good to me. @ngokevin?

@dmarcos
Copy link
Member

dmarcos commented Mar 17, 2016

@IagoLast thanks a lot! can you squash your commits?

@ngokevin
Copy link
Member

tube is radiusTubular


## Attributes

Note that the box primitive inherits common [mesh attributes](./mesh-attributes.md).
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/box/torus

@ngokevin
Copy link
Member

Thanks for doing this!


mappings: {
'radius': 'geometry.radius',
'tube': 'geometry.radiusTubular',
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Keep this as radius-tubular

  - Add torus primitive
  - Add torus basic example
  - Add torus doc
  - Pull request fixes
@ngokevin
Copy link
Member

Thanks! I'm gonna make a few small changes myself in another commit.

ngokevin added a commit that referenced this pull request Mar 22, 2016
@ngokevin ngokevin merged commit a96a01b into aframevr:master Mar 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants