Implement PrimMesher extrusion geometry (#42)
Some checks failed
JPEG 2000 feature / linux (push) Has been cancelled
JPEG 2000 feature / macos (push) Has been cancelled
JPEG 2000 feature / windows (push) Has been cancelled
Skia feature / linux (push) Has been cancelled
Skia feature / macos (push) Has been cancelled
Skia feature / windows (push) Has been cancelled

This commit is contained in:
2026-08-09 04:40:54 +00:00
parent 4849bbda7b
commit 5b3950c421
8 changed files with 2316 additions and 637 deletions

View File

@@ -23,16 +23,11 @@ fn mesh_and_renderer_calls_compile_with_typed_elements() {
}
#[test]
fn owned_constructors_fail_with_exact_member_ids() {
let Err(prim_error) = PrimMesh::new(4, 0.0, 1.0, 0.0, 4) else {
panic!("failure-only PrimMesh constructor unexpectedly returned a value");
};
assert_eq!(
prim_error.csharp_member(),
Some(
"M:LibreMetaverse.PrimMesher.PrimMesh.#ctor(System.Int32,System.Single,System.Single,System.Single,System.Int32)"
)
);
fn native_mesher_and_remaining_shims_report_their_current_status() {
let mesh = PrimMesh::new(4, 0.0, 1.0, 0.0, 4)
.expect("native PrimMesh constructor should create a checked mesh");
assert!(mesh.coords.is_empty());
assert!(mesh.faces.is_empty());
let Err(renderer_error) = SimpleRenderer::new() else {
panic!("failure-only renderer constructor unexpectedly returned a value");