{"id":"dolphin.spatial3d--DolphinAxisRotation","name":"DolphinAxisRotation","owner":"dolphin","package":"dolphin.spatial3d","kind":"function","signature":"external DolphinAxisRotation(Vector3 axis,float cosine,float sine) returns dolphinAffine3","description":"Dolphin axis rotation.","context":"Work with Vector3, axis-aligned boxes, containment, and bounded ray intersections.","parameters":[{"name":"axis","type":"Vector3","description":"Supply axis as Vector3."},{"name":"cosine","type":"float","description":"Supply cosine as float."},{"name":"sine","type":"float","description":"Supply sine as float."}],"returns":"dolphinAffine3","members":[],"tags":["cpu","dolphin","dolphin.spatial3d","function","source-example","spatial3d"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/spatial3d/src/affine.yh","line":35,"sha256":"4f400c2a8dc2c75deb52691bd2f1a797e2c911e23fb8e58facf1fe9f73a99122"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use DolphinAxisRotation","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.spatial3d\n\n// Work with Vector3, axis-aligned boxes, containment, and bounded ray intersections.\nVector3 axis = Vector3(1.0, 1.0, 1.0)\nfloat cosine = 1.0\nfloat sine = 1.0\ndolphinAffine3 result = DolphinAxisRotation(axis, cosine, sine)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_spatial3d__dolphinaxisrotation\"\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","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"1b529d99b69c274ab1d34d4c629e38c4f714d8460eb5a69e864232d9930429a8","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.spatial3d--DolphinAxisRotation","json":"https://demonhunterlabs.com/reference/items/dolphin.spatial3d--DolphinAxisRotation.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.spatial3d--DolphinAxisRotation.md"}
