Psi · Mind

Operator: Arc Cosine

acos(A)

Effect Preview

Operator: Arc Cosine Spell Sheet

Magic ModPsi (Psi 1.21.1-110 (NeoForge))
School / ElementMind
Magic KindGlyph
Glyph RoleOperator
Data SourcePsi-neoforge-1.21.1-110.jar::vazkii/psi/common/spell/operator/number/trig/PieceOperatorAcos.class

How To Use Operator: Arc Cosine

  1. Drop Operator: Arc Cosine onto the Spell Programmer grid adjacent to a normalized ratio between -1 and 1, commonly the output of Operator: Vector Dot Product on unit vectors.
  2. Wire that ratio into Operator: Arc Cosine's Target input so it outputs the angle between those vectors in radians (from 0 to Pi).
  3. Write the spell to a Spell Bullet by Right-Clicking the Spell Programmer, equip it in your CAD via a CAD Assembler, and Right-Click to execute.

Adding 1 Complexity, Operator: Arc Cosine throws a trig domain error outside [-1, 1], so normalize vectors or clamp with Min and Max first.

How To Get Operator: Arc Cosine

Immediately selectable in the Spell Programmer palette within the Trigonometry piece group once a Spell Programmer is crafted.

More Spells From Psi

All Spells →

9Minecraft Magic Updates — New magic mods, spells & Bedrock add-ons

Explore 9Minecraft Network →