Implement native archive and model workflows (#74)
Some checks failed
Native code generation / deterministic (push) Failing after 1m48s
Imaging and meshing gate / native (push) Successful in 5m26s
JPEG 2000 feature / linux (push) Successful in 2m51s
Native Rust workspace compile / compile (push) Successful in 5m28s
Skia feature / linux (push) Successful in 31m53s
Some checks failed
Native code generation / deterministic (push) Failing after 1m48s
Imaging and meshing gate / native (push) Successful in 5m26s
JPEG 2000 feature / linux (push) Successful in 2m51s
Native Rust workspace compile / compile (push) Successful in 5m28s
Skia feature / linux (push) Successful in 31m53s
This commit is contained in:
1261
crates/libremetaverse/src/asset_archive.rs
Normal file
1261
crates/libremetaverse/src/asset_archive.rs
Normal file
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
2599
crates/libremetaverse/src/gltf.rs
Normal file
2599
crates/libremetaverse/src/gltf.rs
Normal file
File diff suppressed because it is too large
Load Diff
@@ -13,6 +13,7 @@ mod animesh_runtime;
|
||||
mod animesh_skinning;
|
||||
mod appearance_baker;
|
||||
mod appearance_manager;
|
||||
mod asset_archive;
|
||||
mod asset_cache;
|
||||
mod asset_manager;
|
||||
mod asset_material;
|
||||
@@ -31,6 +32,7 @@ mod estate_tools;
|
||||
mod event_queue;
|
||||
mod friends_manager;
|
||||
mod gesture;
|
||||
mod gltf;
|
||||
mod group_manager;
|
||||
mod initial_outfit;
|
||||
mod inventory;
|
||||
@@ -47,6 +49,7 @@ mod login;
|
||||
mod marketplace_runtime;
|
||||
mod message_codec;
|
||||
mod message_decoder;
|
||||
mod model_workflow;
|
||||
mod network_manager;
|
||||
mod object_manager;
|
||||
mod object_material;
|
||||
@@ -93,17 +96,15 @@ type Terrain = Vec<Vec<f32>>;
|
||||
type TerrainLoaded = Box<dyn Fn(Terrain, i64, i64) + Send + Sync>;
|
||||
|
||||
impl assets::OarFile {
|
||||
#[allow(dead_code)]
|
||||
#[allow(dead_code, clippy::needless_pass_by_value)]
|
||||
fn load_terrain(
|
||||
_file_path: &str,
|
||||
_data: Vec<u8>,
|
||||
_callback: TerrainLoaded,
|
||||
_bytes_read: i64,
|
||||
_total_bytes: i64,
|
||||
file_path: &str,
|
||||
data: Vec<u8>,
|
||||
callback: TerrainLoaded,
|
||||
bytes_read: i64,
|
||||
total_bytes: i64,
|
||||
) -> Result<bool, Error> {
|
||||
libremetaverse_types::not_implemented(
|
||||
"M:LibreMetaverse.Assets.OarFile.LoadTerrain(System.String,System.Byte[],LibreMetaverse.Assets.OarFile.TerrainLoadedCallback,System.Int64,System.Int64)",
|
||||
)
|
||||
crate::asset_archive::load_terrain(file_path, &data, callback, bytes_read, total_bytes)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
1194
crates/libremetaverse/src/model_workflow.rs
Normal file
1194
crates/libremetaverse/src/model_workflow.rs
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user