22OF_ASSUME_NONNULL_BEGIN
27OF_SUBCLASSING_RESTRICTED
30 OF_ALIGN(16)
float _values[4][4];
33#ifdef OF_HAVE_CLASS_PROPERTIES
34@property (readonly,
class)
OFMatrix4x4 *identityMatrix;
42@property (readonly, nonatomic)
float (*values)[4];
55+ (instancetype)matrixWithValues: (const
float [_Nonnull 4][4])values;
57- (instancetype)init OF_UNAVAILABLE;
65- (instancetype)initWithValues: (const
float [_Nonnull 4][4])values
66 OF_DESIGNATED_INITIALIZER;
81- (void)translateWithVector: (
OFVector3D)vector;
109- (void)transformVectors: (
OFVector4D *)vectors count: (
size_t)count;
A 4x4 matrix of floats.
Definition OFMatrix4x4.h:30
The root class for all other classes inside ObjFW.
Definition OFObject.h:692
A protocol for the creation of copies.
Definition OFObject.h:1350
A vector in 3D space.
Definition OFObject.h:304
A vector in 4D space.
Definition OFObject.h:356