the.bay.news

For the life of me I have no idea why this just produces 52 byte slop each time

The Rust Programming Language Forum
For the life of me I have no idea why this just produces 52 byte slop each time
use asset_importer::{Importer, Vector3D}; use bytemuck::{Pod, Zeroable, cast_slice}; use clap::{Parser, Subcommand}; use glam::{Vec2, Vec3}; use speedy::Writable; #[derive(Parser)] #[command(name = "")] #[command(about = "")] struct Cli { src: String, dst: String, } #[derive(Writable)] struct Model { vertex_buffer: Vec<u8>, index_buffer: Vec<u8>, index_format: IndexFormat, } #[repr(C)] #[derive(Zeroable, Pod, Clone, Copy)] struct Vertex { position: Vec3, uv: Vec2, ...

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.