ObjFW  Check-in [6c6620f4c6]

Overview
Comment:OFMatrix4x4Tests: Fix typo
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6c6620f4c60f2bbf86bae13abc081d70fcd3c04bdf4a5a217ece5f42c35463a3
User & Date: js on 2023-10-01 02:04:31
Other Links: manifest | tags
Context
2023-10-01
11:24
README.md: Add instructions for OpenIndiana check-in: 9e1d2db0eb user: js tags: trunk
02:04
OFMatrix4x4Tests: Fix typo check-in: 6c6620f4c6 user: js tags: trunk
2023-09-24
09:18
Add license to localizations check-in: 92598d5500 user: js tags: trunk
Changes

Modified tests/OFMatrix4x4Tests.m from [953b65c5c6] to [351b3bb4a8].

76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
	    [OFMatrix4x4 matrixWithValues: (const float [4][4]){
		{  9000, 10000, 11000, 12000 },
		{ 20200, 22800, 25400, 28000 },
		{ 31400, 35600, 39800, 44000 },
		{ 42600, 48400, 54200, 60000 }
	    }]])

	TEST(@"[-translateWithVector:]",
	    (matrix2 = [OFMatrix4x4 identityMatrix]) &&
	    R([matrix2 translateWithVector: OFMakeVector3D(1, 2, 3)]) &&
	    R(point =
	    [matrix2 transformedVector: OFMakeVector4D(2, 3, 4, 1)]) &&
	    point.x == 3 && point.y == 5 && point.z == 7 && point.w == 1)

	TEST(@"-[scaleWithVector:]",







|







76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
	    [OFMatrix4x4 matrixWithValues: (const float [4][4]){
		{  9000, 10000, 11000, 12000 },
		{ 20200, 22800, 25400, 28000 },
		{ 31400, 35600, 39800, 44000 },
		{ 42600, 48400, 54200, 60000 }
	    }]])

	TEST(@"-[translateWithVector:]",
	    (matrix2 = [OFMatrix4x4 identityMatrix]) &&
	    R([matrix2 translateWithVector: OFMakeVector3D(1, 2, 3)]) &&
	    R(point =
	    [matrix2 transformedVector: OFMakeVector4D(2, 3, 4, 1)]) &&
	    point.x == 3 && point.y == 5 && point.z == 7 && point.w == 1)

	TEST(@"-[scaleWithVector:]",