Exemplo n.º 1
0
 public override void GenerateMeshInto(List <Vector3> vertCache, List <int> indexCache, List <Vector3> normalCache)
 {
     MeshGen.GenerateTorus(majorRadius, majorNumSegments, minorRadius, minorNumSegments, vertCache, indexCache, normalCache);
 }
Exemplo n.º 2
0
 public override void GenerateMeshInto(List <Vector3> vertCache, List <int> indexCache, List <Vector3> normalCache)
 {
     MeshGen.GenerateRoundedRectPrism(extents, cornerRadius, cornerDivisions, vertCache, indexCache, normalCache, withBack);
 }