12a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Copyright (c) 2013 Brandon Jones, Colin MacKenzie IV 22a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# 32a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# This software is provided 'as-is', without any express or implied 42a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# warranty. In no event will the authors be held liable for any damages 57d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)# arising from the use of this software. 67d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles)# 72a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# Permission is granted to anyone to use this software for any purpose, 8c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles)# including commercial applications, and to alter it and redistribute it 92a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# freely, subject to the following restrictions: 102a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# 112a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# 1. The origin of this software must not be misrepresented; you must not 122a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# claim that you wrote the original software. If you use this software 132a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# in a product, an acknowledgment in the product documentation would be 142a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# appreciated but is not required. 1546d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)# 161320f92c476a1ad9d19dba2a48c72b75566198e9Primiano Tucci# 2. Altered source versions must be plainly marked as such, and must not 172a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# be misrepresented as being the original software. 182a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)# 1946d4c2bc3267f3f028f39e7e311b0f89aba2e4fdTorne (Richard Coles)# 3. This notice may not be removed or altered from any source distribution. 202a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) 212a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles)module GLMatrix 22c2e0dbddbe15c98d52c4786dac06cb8952a8ae6dTorne (Richard Coles) module Version 232a99a7e74a7f215066514fe81d2bfa6639d9edddTorne (Richard Coles) MAJOR, MINOR, PATCH, REL = *File.read(base_path.join 'VERSION').split(".") 247d4cd473f85ac64c3747c96c277f9e506a0d2246Torne (Richard Coles) STRING = [MAJOR, MINOR, PATCH, REL].compact.join '.' 25 end 26 27 VERSION = Version::STRING 28end 29