Revision: | 1114 |
Committed: | Wed Jan 22 14:08:57 2020 UTC (5 years, 8 months ago) by iritscen |
File size: | 530 byte(s) |
Log Message: | Adding OniSplit source code (v0.9.99.0). Many thanks to Neo for all his work over the years. |
# | Content |
---|---|
1 | using Oni.Physics; |
2 | |
3 | namespace Oni.Objects |
4 | { |
5 | internal class FurnitureClass : GunkObjectClass |
6 | { |
7 | public ObjectNode Geometry; |
8 | |
9 | public static FurnitureClass Read(InstanceDescriptor ofga) |
10 | { |
11 | if (ofga == null) |
12 | return null; |
13 | |
14 | return new FurnitureClass |
15 | { |
16 | Geometry = ObjectDatReader.ReadObjectGeometry(ofga) |
17 | }; |
18 | } |
19 | |
20 | public override ObjectGeometry[] GunkNodes => Geometry.Geometries; |
21 | } |
22 | } |