annotate IndoorCamera.h @ 60:b9d70af644f3

Обращённый набор изменений слияния: 285e144d0b8b Обращены изменения ревизии слияния, к её первому родителю (764abc86ce90)
author Ritor1
date Tue, 22 Jan 2013 01:11:32 +0600
parents 9c0607679772
children d65528fc3bda
rev   line source
0
Ritor1
parents:
diff changeset
1 #pragma once
Ritor1
parents:
diff changeset
2 #include "VectorTypes.h"
Ritor1
parents:
diff changeset
3
Ritor1
parents:
diff changeset
4 /* 157 */
Ritor1
parents:
diff changeset
5 #pragma pack(push, 1)
Ritor1
parents:
diff changeset
6 struct IndoorCamera
Ritor1
parents:
diff changeset
7 {
Ritor1
parents:
diff changeset
8 //----- (0042391F) --------------------------------------------------------
Ritor1
parents:
diff changeset
9 IndoorCamera()
Ritor1
parents:
diff changeset
10 {
Ritor1
parents:
diff changeset
11 sRotationX = 0;
Ritor1
parents:
diff changeset
12 sRotationY = 0;
Ritor1
parents:
diff changeset
13 flt_1C_fov = 2000.0f;
Ritor1
parents:
diff changeset
14 flt_20_inv_1C = 32.768002f;
Ritor1
parents:
diff changeset
15
Ritor1
parents:
diff changeset
16 field_4C = 0;
Ritor1
parents:
diff changeset
17 }
Ritor1
parents:
diff changeset
18 void Initialize(int degFov, unsigned int uViewportWidth, unsigned int uViewportHeight);
Ritor1
parents:
diff changeset
19 void Initialize2();
Ritor1
parents:
diff changeset
20 float ViewTransform(struct RenderVertexSoft *a1);
Ritor1
parents:
diff changeset
21
Ritor1
parents:
diff changeset
22
Ritor1
parents:
diff changeset
23 Vec3_int_ pos;
Ritor1
parents:
diff changeset
24 unsigned int uMapGridCellX;
Ritor1
parents:
diff changeset
25 unsigned int uMapGridCellZ;
Ritor1
parents:
diff changeset
26 int sRotationX;
Ritor1
parents:
diff changeset
27 int sRotationY;
Ritor1
parents:
diff changeset
28 float flt_1C_fov;
Ritor1
parents:
diff changeset
29 float flt_20_inv_1C;
Ritor1
parents:
diff changeset
30 int field_24;
Ritor1
parents:
diff changeset
31 int field_28;
Ritor1
parents:
diff changeset
32 float fRotationYSine;
Ritor1
parents:
diff changeset
33 float fRotationYCosine;
Ritor1
parents:
diff changeset
34 float fRotationXSine;
Ritor1
parents:
diff changeset
35 float fRotationXCosine;
Ritor1
parents:
diff changeset
36 int _int_sine;
Ritor1
parents:
diff changeset
37 int _int_cosine;
Ritor1
parents:
diff changeset
38 int _int_sine_2;
Ritor1
parents:
diff changeset
39 int _int_cosine_2;
Ritor1
parents:
diff changeset
40 int field_4C;
Ritor1
parents:
diff changeset
41 };
Ritor1
parents:
diff changeset
42 #pragma pack(pop)
Ritor1
parents:
diff changeset
43
Ritor1
parents:
diff changeset
44
Ritor1
parents:
diff changeset
45
Ritor1
parents:
diff changeset
46 extern IndoorCamera *pIndoorCamera; // idb