Skip to content

Commit

Permalink
Bump version number prior to release.
Browse files Browse the repository at this point in the history
This also updates the docs and the readme.
  • Loading branch information
crertel committed Jan 29, 2015
1 parent a29feaf commit 9f97b62
Show file tree
Hide file tree
Showing 14 changed files with 94 additions and 16 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@ It's designed to be comfortable to use, reasonably fast, and something which wil
Features
========

* Support for vectors in R2 and R3.
* Support for 3x3 and 4x4 matrices.
* Support for quaternions
* Addition, subtraction
* Element-wise multiplication
* Scalar multiplication
Expand All @@ -24,7 +27,8 @@ Features
* Comparison
* Rotation
* Linear interpolation
* Tuples are used to represent vectors and matrices (faster than lists, better for ffi later)
* Matrix inversion
* Tuples are used to represent vectors and matrices (faster than lists or structs)

Installation
============
Expand Down Expand Up @@ -83,8 +87,6 @@ Contributing
Wishlist
========

* Proper support for 4x4 rigid-body transofrms and mass-point math.

* C/SIMD native extensions (probably want to live in a different, API-compatible library).

* Left-handed coordinate system support (don't care enough right now, but some interop would appreciate it).
Expand Down
33 changes: 32 additions & 1 deletion docs/Graphmath.Mat33.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</script>

<div id="content">
<div class="breadcrumbs">graphmath v0.5.3 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Mat33.html">Mat33</a></div>
<div class="breadcrumbs">graphmath v0.9.0 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Mat33.html">Mat33</a></div>

<h1>
Graphmath.Mat33
Expand Down Expand Up @@ -130,6 +130,13 @@ <h2 id="summary">Summary<div class="detail_header_links"><a class="to_top_link"
<td class="summary_synopsis"><p><code class="inline">identity()</code> creates an identity <code class="inline">mat33</code></p>
</td>

</tr>
<tr>
<td class="summary_signature"><a href="#inverse/1">inverse(a)</a></td>

<td class="summary_synopsis"><p><code class="inline">inverse(a)</code> calculates the inverse matrix</p>
</td>

</tr>
<tr>
<td class="summary_signature"><a href="#make_rotate/1">make_rotate(theta)</a></td>
Expand Down Expand Up @@ -530,6 +537,30 @@ <h2>Functions</h2>
<p>This returns an identity <code class="inline">mat33</code>.</p>
</div>

</div>
<div class="detail">
<div class="detail_header" id="inverse/1">
<span class="signature"><strong>inverse(a)</strong></span>
<div class="detail_header_links">
<span class="detail_type">(function)</span>
<a href="#inverse/1" class="detail_link" title="Link to this function">#</a>
<a class="to_top_link" href="#content" title="To the top of the page">&uarr;</a>
</div>
</div>

<p>Specs:</p>
<ul class="spec">

<li>inverse(<a href="#t:mat33/0">mat33</a>) :: <a href="#t:mat33/0">mat33</a></li>

</ul>

<div class="docstring"><p><code class="inline">inverse(a)</code> calculates the inverse matrix</p>
<p><code class="inline">a</code> is a <code class="inline">mat33</code> to be inverted</p>
<p>Returs a <code class="inline">mat33</code> representing <code class="inline">a</code><sup>-1</sup></p>
<p>Raises an error when you try to calculate inverse of a matrix whose determinant is <code class="inline">zero</code></p>
</div>

</div>
<div class="detail">
<div class="detail_header" id="make_rotate/1">
Expand Down
33 changes: 32 additions & 1 deletion docs/Graphmath.Mat44.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</script>

<div id="content">
<div class="breadcrumbs">graphmath v0.5.3 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Mat44.html">Mat44</a></div>
<div class="breadcrumbs">graphmath v0.9.0 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Mat44.html">Mat44</a></div>

<h1>
Graphmath.Mat44
Expand Down Expand Up @@ -137,6 +137,13 @@ <h2 id="summary">Summary<div class="detail_header_links"><a class="to_top_link"
<td class="summary_synopsis"><p><code class="inline">identity()</code> creates an identity <code class="inline">mat44</code></p>
</td>

</tr>
<tr>
<td class="summary_signature"><a href="#inverse/1">inverse(a)</a></td>

<td class="summary_synopsis"><p><code class="inline">inverse(a)</code> calculates the inverse matrix</p>
</td>

</tr>
<tr>
<td class="summary_signature"><a href="#make_rotate_x/1">make_rotate_x(theta)</a></td>
Expand Down Expand Up @@ -581,6 +588,30 @@ <h2>Functions</h2>
<p>This returns an identity <code class="inline">mat44</code>.</p>
</div>

</div>
<div class="detail">
<div class="detail_header" id="inverse/1">
<span class="signature"><strong>inverse(a)</strong></span>
<div class="detail_header_links">
<span class="detail_type">(function)</span>
<a href="#inverse/1" class="detail_link" title="Link to this function">#</a>
<a class="to_top_link" href="#content" title="To the top of the page">&uarr;</a>
</div>
</div>

<p>Specs:</p>
<ul class="spec">

<li>inverse(<a href="#t:mat44/0">mat44</a>) :: <a href="#t:mat44/0">mat44</a></li>

</ul>

<div class="docstring"><p><code class="inline">inverse(a)</code> calculates the inverse matrix</p>
<p><code class="inline">a</code> is a <code class="inline">mat44</code> to be inverted</p>
<p>Returs a <code class="inline">mat44</code> representing <code class="inline">a</code><sup>-1</sup></p>
<p>Raises an error when you try to calculate inverse of a matrix whose determinant is <code class="inline">zero</code></p>
</div>

</div>
<div class="detail">
<div class="detail_header" id="make_rotate_x/1">
Expand Down
2 changes: 1 addition & 1 deletion docs/Graphmath.Quatern.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</script>

<div id="content">
<div class="breadcrumbs">graphmath v0.5.3 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Quatern.html">Quatern</a></div>
<div class="breadcrumbs">graphmath v0.9.0 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Quatern.html">Quatern</a></div>

<h1>
Graphmath.Quatern
Expand Down
2 changes: 1 addition & 1 deletion docs/Graphmath.Vec2.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</script>

<div id="content">
<div class="breadcrumbs">graphmath v0.5.3 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Vec2.html">Vec2</a></div>
<div class="breadcrumbs">graphmath v0.9.0 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Vec2.html">Vec2</a></div>

<h1>
Graphmath.Vec2
Expand Down
2 changes: 1 addition & 1 deletion docs/Graphmath.Vec3.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
</script>

<div id="content">
<div class="breadcrumbs">graphmath v0.5.3 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Vec3.html">Vec3</a></div>
<div class="breadcrumbs">graphmath v0.9.0 &rarr; <a href="overview.html">Overview</a> &rarr; Graphmath &rarr; <a href="Graphmath.Vec3.html">Vec3</a></div>

<h1>
Graphmath.Vec3
Expand Down
2 changes: 1 addition & 1 deletion docs/exceptions_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div id="content">
<h1 id="full_list_header">

graphmath v0.5.3
graphmath v0.9.0

</h1>

Expand Down
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>graphmath v0.5.3 Documentation</title>
<title>graphmath v0.9.0 Documentation</title>
</head>
<frameset cols="20%,*">
<frame name="list" src="modules_list.html" />
Expand Down
16 changes: 15 additions & 1 deletion docs/modules_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div id="content">
<h1 id="full_list_header">

graphmath v0.5.3
graphmath v0.9.0

</h1>

Expand Down Expand Up @@ -122,6 +122,13 @@ <h2 id="sub_list_header">
<small class="search_info">Graphmath.Mat33</small>
</li>

<li>
<span class="object_link">
<a href="Graphmath.Mat33.html#inverse/1" title="Graphmath.Mat33.inverse/1">inverse/1</a>
</span>
<small class="search_info">Graphmath.Mat33</small>
</li>

<li>
<span class="object_link">
<a href="Graphmath.Mat33.html#make_rotate/1" title="Graphmath.Mat33.make_rotate/1">make_rotate/1</a>
Expand Down Expand Up @@ -323,6 +330,13 @@ <h2 id="sub_list_header">
<small class="search_info">Graphmath.Mat44</small>
</li>

<li>
<span class="object_link">
<a href="Graphmath.Mat44.html#inverse/1" title="Graphmath.Mat44.inverse/1">inverse/1</a>
</span>
<small class="search_info">Graphmath.Mat44</small>
</li>

<li>
<span class="object_link">
<a href="Graphmath.Mat44.html#make_rotate_x/1" title="Graphmath.Mat44.make_rotate_x/1">make_rotate_x/1</a>
Expand Down
4 changes: 2 additions & 2 deletions docs/overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
</script>

<div id="content">
<div class="breadcrumbs">graphmath v0.5.3 &rarr; <a href="overview.html">Overview</a></div>
<div class="breadcrumbs">graphmath v0.9.0 &rarr; <a href="overview.html">Overview</a></div>

<h1>graphmath v0.5.3</h1>
<h1>graphmath v0.9.0</h1>

<ul class="summary_links">

Expand Down
2 changes: 1 addition & 1 deletion docs/protocols_list.html
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<div id="content">
<h1 id="full_list_header">

graphmath v0.5.3
graphmath v0.9.0

</h1>

Expand Down
Binary file added lib/Elixir.Graphmath.Mat33.beam
Binary file not shown.
2 changes: 1 addition & 1 deletion lib/Mat33.ex
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ defmodule Graphmath.Mat33 do

fDet = a00*v00 + a01*v10 + a02*v20

if fDet == 0, do: raise "Matrices with determinant equal to zero does not have inverse"
# if fDet == 0, do: raise "Matrices with determinant equal to zero does not have inverse"

fInvDet = 1.0/fDet

Expand Down
2 changes: 1 addition & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ defmodule Graphmath.Mixfile do

def project do
[app: :graphmath,
version: "0.5.4",
version: "0.9.0",
elixir: "~> 1.0",
description: description,
package: package,
Expand Down

0 comments on commit 9f97b62

Please sign in to comment.