Skip to content

Commit

Permalink
Vertex Normals
Browse files Browse the repository at this point in the history
  • Loading branch information
JR-Morgan committed Jan 27, 2025
1 parent f0c7169 commit ec0d4bf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Speckle.Objects/Geometry/Mesh.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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"/>
Expand Down

0 comments on commit ec0d4bf

Please sign in to comment.