Revision 9ef0ad15
Added by Leszek Koltunski 2 months ago
src/main/java/org/distorted/objectlib/touchcontrol/TouchControlMirror.java | ||
---|---|---|
81 | 81 |
{ |
82 | 82 |
int quatIndex = mObject.getCubitQuatIndex(mTouchedCubit); |
83 | 83 |
float[] quat = mQuats[quatIndex]; |
84 |
int face = correctTouchedFace(mTouchedCubit,mTouchedFace,quat); |
|
84 |
int face = correctTouchedFace(mTouchedCubit,mTouchedCubitFace,quat);
|
|
85 | 85 |
float[] normal = mInfos[mTouchedCubit][face].getNormal(); |
86 | 86 |
QuatHelper.rotateVectorByQuat(mTmp,normal,quat); |
87 | 87 |
|
Also available in: Unified diff
minor