Merge branch '0.9.2' into 0.9.3

This commit is contained in:
Christophe Riccio 2011-11-22 16:26:35 +00:00
commit 464e5cbb30
14 changed files with 30 additions and 30 deletions

View File

@ -135,8 +135,8 @@ namespace glm
template <typename T> template <typename T>
GLM_FUNC_QUALIFIER detail::tmat2x4<T> outerProduct GLM_FUNC_QUALIFIER detail::tmat2x4<T> outerProduct
( (
detail::tvec2<T> const & c, detail::tvec4<T> const & c,
detail::tvec4<T> const & r detail::tvec2<T> const & r
) )
{ {
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs"); GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");
@ -156,8 +156,8 @@ namespace glm
template <typename T> template <typename T>
GLM_FUNC_QUALIFIER detail::tmat4x2<T> outerProduct GLM_FUNC_QUALIFIER detail::tmat4x2<T> outerProduct
( (
detail::tvec4<T> const & c, detail::tvec2<T> const & c,
detail::tvec2<T> const & r detail::tvec4<T> const & r
) )
{ {
GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs"); GLM_STATIC_ASSERT(detail::type<T>::is_float, "'outerProduct' only accept floating-point inputs");

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -57,7 +57,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }
@ -68,7 +68,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < this->row_size()); assert(i < this->length());
return this->value[i]; return this->value[i];
} }

View File

@ -50,7 +50,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -60,7 +60,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

View File

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

View File

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }

View File

@ -51,7 +51,7 @@ namespace detail
size_type i size_type i
) )
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }
@ -62,7 +62,7 @@ namespace detail
size_type i size_type i
) const ) const
{ {
assert(i < value_size()); assert(i < this->length());
return (&x)[i]; return (&x)[i];
} }