pub struct ClipmapConfig {
pub base_cell: f64,
pub radius: u32,
pub levels: u8,
}Expand description
Aufbau einer Clipmap. Werte sind Projektkonfiguration, kein Geheimnis.
Fields§
§base_cell: f64Kantenlänge einer Zelle der feinsten Ebene, in Weltmetern. Typisch 64–256 m (siehe docs/architecture.md, Abschnitt 5).
radius: u32Zellradius pro Ebene (Kantenlänge = 2·radius+1 Zellen).
levels: u8Anzahl Ebenen, 1..=16.
Implementations§
Source§impl ClipmapConfig
impl ClipmapConfig
Trait Implementations§
Source§impl Clone for ClipmapConfig
impl Clone for ClipmapConfig
Source§fn clone(&self) -> ClipmapConfig
fn clone(&self) -> ClipmapConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ClipmapConfig
Source§impl Debug for ClipmapConfig
impl Debug for ClipmapConfig
Source§impl PartialEq for ClipmapConfig
impl PartialEq for ClipmapConfig
Source§fn eq(&self, other: &ClipmapConfig) -> bool
fn eq(&self, other: &ClipmapConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ClipmapConfig
Auto Trait Implementations§
impl Freeze for ClipmapConfig
impl RefUnwindSafe for ClipmapConfig
impl Send for ClipmapConfig
impl Sync for ClipmapConfig
impl Unpin for ClipmapConfig
impl UnsafeUnpin for ClipmapConfig
impl UnwindSafe for ClipmapConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more