Last change
on this file since 1186 was 1114, checked in by iritscen, 5 years ago |
Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years.
|
File size:
321 bytes
|
Line | |
---|
1 | namespace Oni
|
---|
2 | {
|
---|
3 | internal struct Polygon3
|
---|
4 | {
|
---|
5 | private readonly Vector3[] points;
|
---|
6 |
|
---|
7 | public Polygon3(Vector3[] points)
|
---|
8 | {
|
---|
9 | this.points = points;
|
---|
10 | }
|
---|
11 |
|
---|
12 | public int Length => points.Length;
|
---|
13 |
|
---|
14 | public Vector3 this[int index] => points[index];
|
---|
15 | }
|
---|
16 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.