quakeforge/ruamoko/gatest/basisgroup.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

25 lines
460 B
Objective-C

#ifndef __basisgroup_h
#define __basisgroup_h
#include <Object.h>
@class Metric;
@class BasisBlade;
@class Set;
@interface BasisGroup : Object
{
int count;
uivec2 range;
BasisBlade **blades;
int *map;
Set *set;
}
+(BasisGroup *) new:(int) count basis:(BasisBlade **)blades;
-(int)count;
-(uivec2)blade_range;
-(BasisBlade *) bladeAt:(int) ind;
-(BasisBlade *) blade:(unsigned) mask;
-(Set *) set;
@end
#endif//__basisgroup_h