commit | ba4aa5c768a498bc3fbb8cb5547b7a9ad6f4b771 | [log] [tgz] |
---|---|---|
author | Alex Sakhartchouk <[email protected]> | Fri Aug 13 14:32:23 2010 -0700 |
committer | Alex Sakhartchouk <[email protected]> | Fri Aug 13 14:32:23 2010 -0700 |
tree | 836134642932dad1c3d85b80d65aa80ac7b333ed | |
parent | e7b3af24f1f2dc5382f688e2284afc3d3518da80 [diff] [blame] |
Adding bounding box computation. Change-Id: I682609312519d9474176556ade7a208c7d0a1323
diff --git a/rsMesh.h b/rsMesh.h index 765a971..ed01c38 100644 --- a/rsMesh.h +++ b/rsMesh.h
@@ -61,6 +61,11 @@ virtual RsA3DClassID getClassId() const { return RS_A3D_CLASS_ID_MESH; } static Mesh *createFromStream(Context *rsc, IStream *stream); + // Bounding volumes + float mBBoxMin[3]; + float mBBoxMax[3]; + void computeBBox(); + protected: };