Commit graph

21 commits

Author SHA1 Message Date
King_DuckZ
40ca5cd388 Clarify cast conditions. 2015-07-25 19:20:20 +02:00
King_DuckZ
1567feaa81 Fix casting.
Casting conditions got clarified.
User is now able to say he doesn't care if casting a wrapper on a
type larger than just the coordinates will stomp on extra data
from the casted type.
2015-07-25 19:12:21 +02:00
King_DuckZ
e64db02ac3 Fix cast<> method.
Add vector_type to is_vec, because vector_type is private
and it couldn't be used in cast. Besides if not is_vec, you can't
expect to find vector_type. The conditional in the cast return type
works like if V2 is not a Vec, you can just use V as the vector_type,
anyways the first is_vec is false so the whole condition is going to
be false anyways, even if it results that V == V.
2015-07-25 01:52:27 +02:00
King_DuckZ
59d8eb43e7 Short version of the motivation in the readme. 2015-07-25 00:56:14 +02:00
King_DuckZ
30371adba9 Add Vec1Promotion. 2015-07-25 00:55:57 +02:00
King_DuckZ
d3b63aab8c Fix some build errors in certain cases.
- wrapped vector is not guaranteed to have constructors
- vector_type is not necessary
- has typedef and has enum were not always working
2015-07-25 00:55:03 +02:00
King_DuckZ
9b107d6e82 Fix in travis.yml. 2015-07-24 22:35:54 +02:00
King_DuckZ
638f1bef55 Fix in travis.yml. 2015-07-24 22:28:50 +02:00
King_DuckZ
cd4d5b9bf5 Try to move to the new Travis container based infrastructure. 2015-07-24 22:21:43 +02:00
King_DuckZ
39fecaf6e0 Add lines for clang.
See:
http://stackoverflow.com/questions/22111549/travis-ci-with-clang-3-4-and-c11
2015-07-24 01:17:29 +02:00
King_DuckZ
bc24424e8f Fix travis.yml 2015-07-23 23:35:02 +02:00
King_DuckZ
f99739772b Fix travis.yml 2015-07-23 23:28:19 +02:00
King_DuckZ
b5df8e3f40 Fix travis.yml 2015-07-23 23:25:28 +02:00
King_DuckZ
feb98a32f3 Remove cd command 2015-07-23 23:23:43 +02:00
King_DuckZ
198345113b Travis file for travis-ci.com 2015-07-23 23:20:59 +02:00
King_DuckZ
7547450913 Fix build errors and typos in the documentation. 2015-07-23 23:10:55 +02:00
King_DuckZ
b7c7d77dac New test program based on gtest. 2015-07-23 23:10:03 +02:00
King_DuckZ
5e6c537a2d Fix in HasEnum that was always returning true. 2015-07-23 23:09:35 +02:00
King_DuckZ
987cdd66ef Import gtest 1.7.0 2015-07-23 23:08:41 +02:00
King_DuckZ
08050e42da First import 2015-07-23 01:37:35 +02:00
King_DuckZ
4c15aadf4e Initial commit 2015-07-23 01:33:36 +02:00