[Include] Rotations.inc
#4

Translation and Rotation function for RotationMatrix added

New functions
PHP Code:
// AroundRelPoint
RotMatrixMatrixAroundRelPoint(Floatmatrix1[4][4], FloatoXFloatoYFloatoZFloatmatrix2[4][4])
RotMatrixQuatAroundRelPoint(Floatmatrix[4][4], FloatoXFloatoYFloatoZFloatwFloatxFloatyFloatz)
RotMatrixEulerAroundRelPoint(Floatmatrix[4][4], FloatoXFloatoYFloatoZFloatrXFloatrYFloatrZeulermodemode euler_samp)
RotMatrixAxisAroundRelPoint(Floatmatrix1[4][4], FloatoXFloatoYFloatoZFloatangleFloataXFloataYFloataZ)
// AroundPoint
RotMatrixMatrixAroundPoint(Floatmatrix1[4][4], FloatxFloatyFloatzFloatmatrix2[4][4])
RotMatrixQuatAroundPoint(Floatmatrix[4][4], FloatxFloatyFloatzFloatwFloatqXFloatqYFloatqZ)
RotMatrixEulerAroundPoint(Floatmatrix[4][4], FloatxFloatyFloatzFloatrXFloatrYFloatrZeulermodemode euler_samp)
RotMatrixAxisAroundPoint(Floatmatrix1[4][4], FloatxFloatyFloatzFloatangleFloataXFloataYFloataZ)
// TranslateMatrix
TranslateMatrix(Floatmatrix[4][4], FloatxFloatyFloatz)
// RotateMatrix
RotateMatrixWithMatrix(Floatmatrix1[4][4], Floatmatrix2[4][4])
RotateMatrixWithQuat(Floatmatrix[4][4], FloatwFloatxFloatyFloatz)
RotateMatrixWithEuler(Floatmatrix[4][4], FloatrXFloatrYFloatrZeulermodemode euler_samp)
RotateMatrixWithAxisAngle(Floatmatrix[4][4], FloatangleFloataXFloataYFloataZ)
// GetTranslationMatrix
GetTranslationMatrix(Floatmatrix[4][4], FloatxFloatyFloatz
Reply


Messages In This Thread
Rotations.inc - by Nero_3D - 14.08.2016, 01:19
Re: Rotations.inc - by PT - 14.08.2016, 11:11
Re: Rotations.inc - by Sanady - 15.08.2016, 01:37
Re: Rotations.inc - by Nero_3D - 06.01.2017, 23:59
Re: Rotations.inc - by Crayder - 06.02.2017, 18:25
Re: Rotations.inc - by Nero_3D - 10.02.2017, 13:37
Re: Rotations.inc - by Crayder - 10.02.2017, 17:09
Re: Rotations.inc - by AbyssMorgan - 10.02.2017, 17:13
Re: Rotations.inc - by ball - 16.06.2017, 16:44
Re: Rotations.inc - by Nero_3D - 16.06.2017, 21:43
Re: Rotations.inc - by Nero_3D - 11.08.2017, 20:03
Re: Rotations.inc - by Admigo - 03.12.2017, 13:28
Re: Rotations.inc - by Nero_3D - 04.12.2017, 02:29
Re: Rotations.inc - by kennydalglish - 04.12.2017, 06:27
Re: Rotations.inc - by AbyssMorgan - 04.12.2017, 08:04
Re: Rotations.inc - by Nero_3D - 04.12.2017, 23:01
Re: Rotations.inc - by kennydalglish - 05.12.2017, 15:54
Re: Rotations.inc - by Nero_3D - 06.12.2017, 00:22
Re: Rotations.inc - by kennydalglish - 08.12.2017, 21:47
Re: Rotations.inc - by NaS - 08.03.2018, 15:02
Re: Rotations.inc - by Nero_3D - 16.03.2019, 21:26

Forum Jump:


Users browsing this thread: 7 Guest(s)