AuroraSim: More tiny bits to help life be normal on the grid.
This commit is contained in:
@@ -539,6 +539,7 @@ LLVector3 LLNetMap::globalPosToView(const LLVector3d& global_pos, BOOL rotated)
|
||||
LLVector3 pos_local;
|
||||
pos_local.setVec(relative_pos_global); // convert to floats from doubles
|
||||
|
||||
mPixelsPerMeter = mScale / REGION_WIDTH_METERS;
|
||||
pos_local.mV[VX] *= mPixelsPerMeter;
|
||||
pos_local.mV[VY] *= mPixelsPerMeter;
|
||||
// leave Z component in meters
|
||||
|
||||
Reference in New Issue
Block a user