Implement native object models (#68)
All checks were successful
Native code generation / deterministic (push) Successful in 14m42s
Imaging and meshing gate / native (push) Successful in 4m59s
Native Rust workspace compile / compile (push) Successful in 5m7s

This commit is contained in:
2026-08-10 13:32:08 +00:00
parent cf98152e41
commit 43820f6bd1
11 changed files with 3763 additions and 1441 deletions

View File

@@ -429,7 +429,7 @@ fn face(vertices: Vec<Vertex>, weights: Option<Vec<VertexWeight>>) -> Face {
num_s: 0,
num_t: 0,
tex_coords1: None,
texture_face: PrimitiveTextureEntryFace,
texture_face: PrimitiveTextureEntryFace::default(),
user_data: Object::from(""),
vertices,
weights,

View File

@@ -1166,6 +1166,7 @@ pub(crate) fn primitive_defaults() -> Primitive {
},
textures: None,
tree_species: crate::Tree::Pine1,
unknown_extra_params: Vec::new(),
velocity: libremetaverse_types::Vector3::zero(),
}
}

File diff suppressed because it is too large Load Diff

View File

@@ -43,6 +43,7 @@ mod message_codec;
mod message_decoder;
mod network_manager;
mod object_material;
mod object_model;
#[rustfmt::skip]
pub mod packet_catalog;
mod packet_wire;

File diff suppressed because it is too large Load Diff

View File

@@ -23352,12 +23352,6 @@ pub(crate) fn new_avatar() -> Result<crate::Avatar, crate::Error> {
visual_parameters: Vec::new(),
})
}
pub(crate) fn new_texture_entry_face() -> Result<
crate::PrimitiveTextureEntryFace,
crate::Error,
> {
Ok(crate::PrimitiveTextureEntryFace)
}
#[cfg(test)]
mod tests {
use super::*;