quakeforge/ruamoko/gatest/basislayout.h
Bill Currie c1c77bd64a [gatest] Add basic geometric algebra test
This is for developing methods of implementing geometric algebra and
eventually playing with it visually.
2023-05-19 00:34:05 +09:00

28 lines
554 B
Objective-C

#ifndef __basislayout_h
#define __basislayout_h
#include <Object.h>
@class BasisGroup;
@class Set;
@interface BasisLayout : Object
{
int count;
uivec2 range;
BasisGroup **groups;
ivec3 *group_map;
int *mask_map;
int blade_count;
Set *set;
}
+(BasisLayout *) new:(int) count groups:(BasisGroup **)groups;
-(int)count;
-(int)num_components;
-(int)blade_count;
-(BasisGroup *) group:(int) ind;
-(BasisBlade *) bladeAt:(int) ind;
-(int) bladeIndex:(unsigned) mask;
-(Set *) set;
@end
#endif//__basislayout_h