-
Notifications
You must be signed in to change notification settings - Fork 634
Closed
Description
Hi,
when calling StreamingGeometryGenerator.hash in GeometryRunner, the color buffer's position is always set to the end of the buffer resulting in colors.hashCode() always returning 1.
int hash = this.streamingGeometryGenerator.hash(indices, vertices, normals, colors); |
The hash code of a byte buffer depends only upon its remaining elements; that is, upon the elements from position() up to, and including, the element at limit() - 1.
As a result, geometries can be reused if the mesh is identical although they have different index colors.
Metadata
Metadata
Assignees
Labels
No labels