{"id":"recipe--space","name":"Give a point three coordinates","owner":"dolphin","package":"dolphin.spatial3d","kind":"recipe","signature":"start.yh","description":"Read X, Y, and Z without needing a giant maths lesson.","context":"A location on paper needs two numbers. A location in a room needs three. Vector3 stores X, Y, and Z together. In Crystal Garden, X and Z describe the ground and Y describes height. The origin is (0, 0, 0), a chosen reference point. Negative coordinates are useful: a crystal can sit to either side of the center. You choose what a world unit means in your game.","parameters":[],"returns":"","members":[],"tags":["cpu","dolphin.math","dolphin.spatial3d","recipe"],"updated":"2026-09-09","source":{"repository":"demonhunterlabs","path":"app/lib/yeho-walkthrough.ts"},"status":"complete-program","notes":["Change the target to (0, 0, 5). Then compare the result with the original target."],"examples":[{"id":"program","title":"Give a point three coordinates","description":"Read X, Y, and Z without needing a giant maths lesson.","code":"using dolphin.math\nusing dolphin.spatial3d\n\nVector3 start = Vector3(0.0, 0.0, 0.0)\nVector3 target = Vector3(3.0, 4.0, 0.0)\nConsole.Log(Text.From(DolphinDistance3(start, target)))","manifest":"manifestVersion = \"2\"\npackage = \"api.example.recipe__space\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu"],"run":"cpu-oracle","expected":"5","verification":"type checked","sha256":"3601bed515150f1d718eb00ad451cd00ba1506b950aae1d1bd8c37022bc3fb9a","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=recipe--space","json":"https://demonhunterlabs.com/reference/items/recipe--space.json","markdown":"https://demonhunterlabs.com/reference/text/recipe--space.md"}
