14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
* file.
*/
#include <stdarg.h>
#import "OFObject.h"
/**
* \brief A class for storing and manipulating vectors of floats.
*/
@interface OFFloatVector: OFObject <OFCopying>
{
size_t dimension;
float *data;
|
>
>
|
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
* file.
*/
#include <stdarg.h>
#import "OFObject.h"
@class OFFloatMatrix;
/**
* \brief A class for storing and manipulating vectors of floats.
*/
@interface OFFloatVector: OFObject <OFCopying>
{
size_t dimension;
float *data;
|
160
161
162
163
164
165
166
167
|
*/
- (float)magnitude;
/**
* \brief Normalizes the vector.
*/
- (void)normalize;
@end
|
>
>
>
>
>
>
>
>
|
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
|
*/
- (float)magnitude;
/**
* \brief Normalizes the vector.
*/
- (void)normalize;
/**
* \brief Multiplies the receiver with the specified matrix on the left side and
* the receiver on the right side.
*
* \param matrix The matrix to multiply the receiver with
*/
- (void)multiplyWithMatrix: (OFFloatMatrix*)matrix;
@end
|