Differences From Artifact [830e6212b6]:
- File src/OFColor+Cube.m — part of check-in [932a90c261] at 2025-03-29 13:01:06 on branch trunk — Make more use of OFColor (user: js, size: 238) [annotate] [blame] [check-ins using]
To Artifact [a418a3dce6]:
- File
src/OFColor+Cube.m
— part of check-in
[75e920ae30]
at
2025-03-29 14:25:43
on branch trunk
— Switch from clang-format to manual formatting
clang-format does too many weird things. (user: js, size: 242) [annotate] [blame] [check-ins using]
1 2 3 4 5 6 7 8 | #include "cube.h" #import "OFColor+Cube.h" @implementation OFColor (Cube) - (void)cube_setAsGLColor { float red, green, blue, alpha; | | | 1 2 3 4 5 6 7 8 9 10 11 12 | #include "cube.h" #import "OFColor+Cube.h" @implementation OFColor (Cube) - (void)cube_setAsGLColor { float red, green, blue, alpha; [self getRed: &red green: &green blue: &blue alpha: &alpha]; glColor4f(red, green, blue, alpha); } @end |