mirror of
https://github.com/HifiExperiments/overte.git
synced 2025-08-13 06:03:14 +02:00
Add extrudePolygon for cylinder
This commit is contained in:
parent
65c4d31676
commit
362e08a90d
1 changed files with 3 additions and 3 deletions
|
@ -366,8 +366,6 @@ void GeometryCache::buildShapes() {
|
|||
shapeData.setupIndices(_shapeIndices, IndexVector(), wireIndices);
|
||||
}
|
||||
|
||||
// Not implememented yet:
|
||||
|
||||
//Triangle,
|
||||
extrudePolygon<3>(_shapes[Triangle], _shapeVertices, _shapeIndices);
|
||||
//Hexagon,
|
||||
|
@ -375,11 +373,13 @@ void GeometryCache::buildShapes() {
|
|||
//Octagon,
|
||||
extrudePolygon<8>(_shapes[Octagon], _shapeVertices, _shapeIndices);
|
||||
|
||||
// Not implememented yet:
|
||||
//Quad,
|
||||
//Circle,
|
||||
//Torus,
|
||||
//Cone,
|
||||
//Cylinder,
|
||||
//Cylinder
|
||||
extrudePolygon<48>(_shapes[Cylinder], _shapeVertices, _shapeIndices);
|
||||
}
|
||||
|
||||
gpu::Stream::FormatPointer& getSolidStreamFormat() {
|
||||
|
|
Loading…
Reference in a new issue