Menu

[327ada]: / Source / Tests / Explorer / float4.h  Maximize  Restore  History

Download this file

25 lines (19 with data), 461 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef FLOAT4_H
#define FLOAT4_H
#include <d3dx9math.h>
#if BUILDING_DLL
#define DLLIMPORT __declspec(dllexport)
#else
#define DLLIMPORT __declspec(dllimport)
#endif
class DLLIMPORT float4 : public D3DXVECTOR4 {
public:
float4();
float4(float x,float y,float z,float w);
float4(const D3DXVECTOR4& rvalue);
float Length();
float Dot(const float4& rvalue);
float4 SetLength(float value);
float4 Normalize();
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.