Updated krmodel file format to support bone weights, physics collider meshes, and variable combinations of vertex attributes

--HG--
extra : convert_revision : svn%3A7752d6cf-9f14-4ad2-affc-04f1e67b81a5/trunk%40183
This commit is contained in:
kearwood
2012-12-10 21:09:14 +00:00
parent 317522edd3
commit 4f5fd10e71
17 changed files with 382 additions and 155 deletions

View File

@@ -48,6 +48,12 @@ KRVector3::KRVector3(const KRVector3 &v) {
z = v.z;
}
KRVector3::KRVector3(float *v) {
x = v[0];
y = v[1];
z = v[2];
}
KRVector3 KRVector3::Min() {
return KRVector3(-std::numeric_limits<float>::max());
}