genmesh icon indicating copy to clipboard operation
genmesh copied to clipboard

Add scaling options

Open csherratt opened this issue 8 years ago • 1 comments

The primitives right now just produce a primitive that is close to a unit vector. The original idea was that people would scale the primitives using the .vertex() trait. There are a few cases where I don't think this is satisfactory. The cone primitive for example has different normals based on these values, so for the sake of our uses we should add them.

csherratt avatar Jun 08 '17 01:06 csherratt

Indeed, the addition of normals makes this point strong. We could also adjust the UVs. E.g. a cube with sizes (5, 1, 1) should have more UV space alongside X axis.

kvark avatar Jun 08 '17 02:06 kvark