mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-12 21:52:32 +00:00
c1c77bd64a
This is for developing methods of implementing geometric algebra and eventually playing with it visually.
25 lines
460 B
Objective-C
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
|