Vertex Normals

This commit is contained in:
Jedd Morgan
2025-01-27 13:40:30 +00:00
parent f0c7169be8
commit ec0d4bf1e3
+7
View File
@@ -44,6 +44,13 @@ public class Mesh : Base, IHasBoundingBox, IHasVolume, IHasArea, ITransformable<
[DetachProperty, Chunkable(31250)]
public List<double> textureCoordinates { get; set; } = new();
/// <summary>
/// <summary>Flat list of vertex normal data (flat <c>x,y,z,x,y,z...</c> list)</summary>
/// <remarks>Expected that there are either 1 texture coordinate per vertex, or an empty <see cref="List{T}"/></remarks>
/// </summary>
[DetachProperty, Chunkable(62500)]
public List<double> vertexNormals { get; set; } = new();
/// <summary>
/// The unit's this <see cref="Mesh"/> is in.
/// This should be one of <see cref="Units"/>