mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
17 lines
363 B
C
17 lines
363 B
C
|
#ifndef __metric_h
|
||
|
#define __metric_h
|
||
|
|
||
|
#include <Object.h>
|
||
|
|
||
|
@interface Metric : Object
|
||
|
{
|
||
|
unsigned plus; // mask of elements that square to +1
|
||
|
unsigned minus; // mask of elements that square to -1
|
||
|
unsigned zero; // mask of elements that square to 0
|
||
|
}
|
||
|
+(Metric *)R:(int)p, int m, int z;
|
||
|
-(double)apply:(unsigned) a, unsigned b;
|
||
|
@end
|
||
|
|
||
|
#endif//__metric_h
|