-
Notifications
You must be signed in to change notification settings - Fork 385
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
`MeshProperties` was a hack that was required because of the old join semantics. We can now make `Mesh3D.triangle_indices` what we always intended: a `Vec<UVec3>`. (This won't work in the web viewer generated by this PR since it breaks the Mesh3D ABI.) - Fixes #5402 ![image](https://github.com/rerun-io/rerun/assets/2910679/e8046702-252a-4240-9dcf-cd1d2bcfc98a) --------- Co-authored-by: Emil Ernerfeldt <[email protected]>
- Loading branch information
Showing
79 changed files
with
799 additions
and
1,201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 0 additions & 17 deletions
17
crates/re_types/definitions/rerun/components/mesh_properties.fbs
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
crates/re_types/definitions/rerun/components/triangle_indices.fbs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
include "arrow/attributes.fbs"; | ||
include "python/attributes.fbs"; | ||
include "fbs/attributes.fbs"; | ||
include "rust/attributes.fbs"; | ||
|
||
include "../datatypes/uvec3d.fbs"; | ||
|
||
namespace rerun.components; | ||
|
||
// --- | ||
|
||
/// The three indices of a triangle mesh. | ||
struct TriangleIndices ( | ||
"attr.rust.derive": "Copy, PartialEq, Eq, bytemuck::Pod, bytemuck::Zeroable", | ||
"attr.rust.repr": "transparent" | ||
) { | ||
indices: rerun.datatypes.UVec3D (order: 100); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
22 changes: 0 additions & 22 deletions
22
crates/re_types/definitions/rerun/datatypes/mesh_properties.fbs
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.