Artifact 830e6212b6e9af4c5df6bc7276a366d1a0d6b826580f643bbfe92b1c064f6b5b:
- 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]
#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