ObjFW  Diff

Differences From Artifact [67c177d7d9]:

To Artifact [0c5b86a89a]:

  • File src/OFMatrix4x4.m — part of check-in [1af54eb2c2] at 2024-04-02 03:21:12 on branch trunk — Only align OFVector4D where necessary

    Changing the alignment of OFVector4D globally (as was done previously)
    would have technically been an ABI break in extremely rare cases.
    However, since we only need the alignment for the methods added after
    1.0, it's better to only have the alignment there and get back to full
    ABI compatibility with 1.0. (user: js, size: 10345) [annotate] [blame] [check-ins using]


360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
	    }];
	[self multiplyWithMatrix: scale];
	[scale release];
}

- (OFVector4D)transformedVector: (OFVector4D)vector
{
	OFVector4D copy = vector;

	[self transformVectors: &copy count: 1];

	return copy;
}

- (void)transformVectors: (OFVector4D *)vectors count: (size_t)count







|







360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
	    }];
	[self multiplyWithMatrix: scale];
	[scale release];
}

- (OFVector4D)transformedVector: (OFVector4D)vector
{
	OF_ALIGN(16) OFVector4D copy = vector;

	[self transformVectors: &copy count: 1];

	return copy;
}

- (void)transformVectors: (OFVector4D *)vectors count: (size_t)count