API reaview cleanup
Change-Id: Ib1aaf81130ffa6b5e6c60096c27c969e8891db3f
This commit is contained in:
@@ -248,24 +248,45 @@ public class FieldPacker {
|
||||
addU32(v.w);
|
||||
}
|
||||
|
||||
// to be removed on cleanup
|
||||
public void addObj(Matrix4f v) {
|
||||
for (int i=0; i < v.mMat.length; i++) {
|
||||
addF32(v.mMat[i]);
|
||||
}
|
||||
}
|
||||
|
||||
// to be removed on cleanup
|
||||
public void addObj(Matrix3f v) {
|
||||
for (int i=0; i < v.mMat.length; i++) {
|
||||
addF32(v.mMat[i]);
|
||||
}
|
||||
}
|
||||
|
||||
// to be removed on cleanup
|
||||
public void addObj(Matrix2f v) {
|
||||
for (int i=0; i < v.mMat.length; i++) {
|
||||
addF32(v.mMat[i]);
|
||||
}
|
||||
}
|
||||
|
||||
public void addMatrix(Matrix4f v) {
|
||||
for (int i=0; i < v.mMat.length; i++) {
|
||||
addF32(v.mMat[i]);
|
||||
}
|
||||
}
|
||||
|
||||
public void addMatrix(Matrix3f v) {
|
||||
for (int i=0; i < v.mMat.length; i++) {
|
||||
addF32(v.mMat[i]);
|
||||
}
|
||||
}
|
||||
|
||||
public void addMatrix(Matrix2f v) {
|
||||
for (int i=0; i < v.mMat.length; i++) {
|
||||
addF32(v.mMat[i]);
|
||||
}
|
||||
}
|
||||
|
||||
public void addBoolean(boolean v) {
|
||||
addI8((byte)(v ? 1 : 0));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user