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
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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user