No change, just comments for stuff to avoid merging in, for now.

This commit is contained in:
Shyotl
2011-07-13 03:56:05 -05:00
parent 4753d65076
commit e2112fa8d5

View File

@@ -407,10 +407,13 @@ LLVector3 LLAgentCamera::calcFocusOffset(LLViewerObject *object, LLVector3 origi
{
return original_focus_point - obj_pos;
}
LLQuaternion inv_obj_rot = ~obj_rot; // get inverse of rotation
LLVector3 object_extents = object->getScale();
LLVector3 object_extents = object->getScale();
//this stuff just seems to make camera snapping worse...
//const LLVector3* oe3 = object->mDrawable->getSpatialExtents();
//object_extents.set( oe3[1][0], oe3[1][1], oe3[1][2] );
// make sure they object extents are non-zero
object_extents.clamp(0.001f, F32_MAX);