commit | a80145de0014aff9bdafe14601046ca511a2f90c | [log] [tgz] |
---|---|---|
author | Alex Sakhartchouk <alexst@google.com> | Fri Aug 13 14:32:23 2010 -0700 |
committer | Alex Sakhartchouk <alexst@google.com> | Fri Aug 13 14:32:23 2010 -0700 |
tree | fe7abc78a30c88c28fd0b866f19b4878a315e2b4 | |
parent | ff9ca9c2c53c994481323390991ff0e9fd14d06f [diff] [blame] |
Adding bounding box computation. Change-Id: I682609312519d9474176556ade7a208c7d0a1323
diff --git a/libs/rs/rsMesh.h b/libs/rs/rsMesh.h index 765a971..ed01c38 100644 --- a/libs/rs/rsMesh.h +++ b/libs/rs/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: };