Differences From Artifact [32857d56d5]:
- File
src/OFMatrix4x4.h
— part of check-in
[db7991d07b]
at
2023-02-16 19:59:20
on branch trunk
— OFVector3D -> OFPoint3D
For now, we're only interested in transformed points. (user: js, size: 2111) [annotate] [blame] [check-ins using]
To Artifact [f55c478b84]:
- File src/OFMatrix4x4.h — part of check-in [3e4ed4e59f] at 2023-02-16 21:37:01 on branch trunk — OFMatrix4x4: Add translation and scaling (user: js, size: 2465) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
67 68 69 70 71 72 73 74 75 76 77 78 79 | * @brief Mulitplies the receiver with the specified matrix on the left side * and the receiver on the right side. * * @param matrix The matrix to multiply the receiver with */ - (void)multiplyWithMatrix: (OFMatrix4x4 *)matrix; /** * @brief Transforms the specified point in 3D space according to the matrix. * * @param point The point to transform * @return The transformed point */ | > > > > > > > > > > > > > > | | 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 | * @brief Mulitplies the receiver with the specified matrix on the left side * and the receiver on the right side. * * @param matrix The matrix to multiply the receiver with */ - (void)multiplyWithMatrix: (OFMatrix4x4 *)matrix; /** * @brief Translates the matrix with the specified 3D vector. * * @param vector The vector to translate the matrix with */ - (void)translateWithVector3D: (OFVector3D)vector; /** * @brief Scales the matrix with the specified 3D vector. * * @param vector The vector to scale the matrix with */ - (void)scaleWithVector3D: (OFVector3D)vector; /** * @brief Transforms the specified point in 3D space according to the matrix. * * @param point The point to transform * @return The transformed point */ - (OFVector3D)transformedPoint3D: (OFVector3D)point; @end OF_ASSUME_NONNULL_END |