MCPcopy Create free account
hub / github.com/esengine/esengine / from

Method from

packages/engine/src/math/vec2.rs:212–214  ·  view source on GitHub ↗
((x, y): (f32, f32))

Source from the content-addressed store, hash-verified

210impl From<(f32, f32)> for Vec2 {
211 #[inline]
212 fn from((x, y): (f32, f32)) -> Self {
213 Self { x, y }
214 }
215}
216
217impl From<[f32; 2]> for Vec2 {

Callers 15

collectUIRenderDataMethod · 0.45
getSelectedEntityIdsMethod · 0.45
writeBinaryFileFunction · 0.45
handleExportFunction · 0.45
SceneHierarchyFunction · 0.45
ModuleListSettingFunction · 0.45
createFileSystemFunction · 0.45
handleKeyDownFunction · 0.45
ContentBrowserFunction · 0.45
renderNodeFunction · 0.45
EntityInspectorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected