Пример #1
0
 public override void GenerateMeshInto(List <Vector3> vertCache, List <int> indexCache, List <Vector3> normalCache)
 {
     MeshGen.GenerateTorus(majorRadius, majorNumSegments, minorRadius, minorNumSegments, vertCache, indexCache, normalCache);
 }
Пример #2
0
 public override void GenerateMeshInto(List <Vector3> vertCache, List <int> indexCache, List <Vector3> normalCache)
 {
     MeshGen.GenerateRoundedRectPrism(extents, cornerRadius, cornerDivisions, vertCache, indexCache, normalCache, withBack);
 }