MCPcopy Create free account
hub / github.com/PerroEngine/Perro / to_array

Method to_array

perro_source/core/perro_structs/src/structs/snorm.rs:109–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 }
108
109 #[inline]
110 pub const fn from_u8(v: [u8; 2]) -> Self {
111 Self {
112 x: SignedUnit::from_u8(v[0]),
113 y: SignedUnit::from_u8(v[1]),
114 }

Callers 13

from_variantMethod · 0.45
prepareMethod · 0.45
apply_font_deltaMethod · 0.45
enclose_local_spheresFunction · 0.45
cameraFunction · 0.45
sub3Function · 0.45
cross3Function · 0.45
normalize3Function · 0.45
meshlet_boundsFunction · 0.45

Calls 1

to_f32Method · 0.45

Tested by

no test coverage detected