From 7850e268238946a8dda88ec04b685f8d94463643 Mon Sep 17 00:00:00 2001 From: Chris Ertel Date: Wed, 28 Jan 2015 22:01:47 -0600 Subject: [PATCH] Updates the doc formatting on quaternions. --- docs/Graphmath.Quatern.html | 6 ++---- lib/Quatern.ex | 6 ++---- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/docs/Graphmath.Quatern.html b/docs/Graphmath.Quatern.html index 7c8aa82..67aecb3 100644 --- a/docs/Graphmath.Quatern.html +++ b/docs/Graphmath.Quatern.html @@ -242,8 +242,7 @@

Functions

add(lhs, rhs) add two quaternions.

lhs is the first quatern

rhs is the second quatern

-

It returns a quatern of the form

-
{ lhs<sub>w</sub> + rhs<sub>w</sub>, lhs<sub>x</sub> + rhs<sub>x</sub>, lhs<sub>y</sub> + rhs<sub>y</sub>, lhs<sub>z</sub> + rhs<sub>z</sub> }.
+

It returns a quatern of the form { lhsw + rhsw, lhsx + rhsx, lhsy + rhsy, lhsz + rhsz }.

@@ -652,8 +651,7 @@

Functions

subtract(lhs, rhs) subtract two quaternions.

lhs is the first quatern

rhs is the second quatern

-

It returns a quatern of the form

-
{ lhs<sub>w</sub> - rhs<sub>w</sub>, lhs<sub>x</sub> - rhs<sub>x</sub>, lhs<sub>y</sub> - rhs<sub>y</sub>, lhs<sub>z</sub> - rhs<sub>z</sub> }.
+

It returns a quatern of the form { lhsw - rhsw, lhsx - rhsx, lhsy - rhsy, lhsz - rhsz }.

diff --git a/lib/Quatern.ex b/lib/Quatern.ex index 3efaffc..f004a61 100644 --- a/lib/Quatern.ex +++ b/lib/Quatern.ex @@ -82,8 +82,7 @@ defmodule Graphmath.Quatern do `rhs` is the second `quatern` - It returns a `quatern` of the form - { lhsw + rhsw, lhsx + rhsx, lhsy + rhsy, lhsz + rhsz }. + It returns a `quatern` of the form { lhsw + rhsw, lhsx + rhsx, lhsy + rhsy, lhsz + rhsz }. """ @spec add(quatern, quatern) :: quatern def add(lhs, rhs) do @@ -100,8 +99,7 @@ defmodule Graphmath.Quatern do `rhs` is the second `quatern` - It returns a `quatern` of the form - { lhsw - rhsw, lhsx - rhsx, lhsy - rhsy, lhsz - rhsz }. + It returns a `quatern` of the form { lhsw - rhsw, lhsx - rhsx, lhsy - rhsy, lhsz - rhsz }. """ @spec subtract(quatern, quatern) :: quatern def subtract(lhs, rhs) do