Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
c_sxyz.h
Go to the documentation of this file.
1
#ifndef C_SXYZ_H
2
#define C_SXYZ_H
3
4
#include "
dolphin/mtx/vec.h
"
5
6
class
csXyz
:
public
SVec
{
7
public
:
8
static
const
csXyz
Zero
;
9
/* 80018BD0 */
~csXyz
() {};
10
/* inline */
csXyz
() {}
11
/* inline */
csXyz
(
const
csXyz
&
other
) :
SVec
(
other
){};
12
/* 802673F4 */
csXyz
(
s16
,
s16
,
s16
);
13
/* 80267404 */
csXyz
operator+
(
csXyz
&);
14
/* 8026745C */
void
operator+=
(
csXyz
&);
15
/* 80267490 */
csXyz
operator-
(
csXyz
&);
16
/* 802674E8 */
csXyz
operator*
(
f32
);
17
s16
GetX
()
const
{
return
x
; }
18
s16
GetY
()
const
{
return
y
; }
19
s16
GetZ
()
const
{
return
z
; }
20
21
void
set
(
s16
oX
,
s16
oY
,
s16
oZ
) {
22
x
=
oX
;
23
y
=
oY
;
24
z
=
oZ
;
25
}
26
27
void
setall
(
s16
val) {
28
x
= val;
29
y
= val;
30
z
= val;
31
}
32
};
33
34
#endif
/* C_SXYZ_H */
cLib_calcTimer
T cLib_calcTimer(T *value)
Definition
c_lib.h:74
SVec
Definition
vec.h:18
SVec::x
s16 x
Definition
vec.h:19
SVec::z
s16 z
Definition
vec.h:19
SVec::y
s16 y
Definition
vec.h:19
csXyz
Definition
d_a_ep.cpp:66
csXyz::setall
void setall(s16 val)
Definition
c_sxyz.h:27
csXyz::operator*
csXyz operator*(f32)
Definition
c_sxyz.cpp:35
csXyz::operator-
csXyz operator-(csXyz &)
Definition
c_sxyz.cpp:30
csXyz::GetZ
s16 GetZ() const
Definition
c_sxyz.h:19
csXyz::~csXyz
~csXyz()
Definition
c_sxyz.h:9
csXyz::GetX
s16 GetX() const
Definition
c_sxyz.h:17
csXyz::GetY
s16 GetY() const
Definition
c_sxyz.h:18
csXyz::Zero
static const csXyz Zero
Definition
c_sxyz.h:8
csXyz::operator+=
void operator+=(csXyz &)
Definition
c_sxyz.cpp:23
csXyz::csXyz
csXyz()
Definition
c_sxyz.h:10
csXyz::csXyz
csXyz(const csXyz &other)
Definition
c_sxyz.h:11
csXyz::operator+
csXyz operator+(csXyz &)
Definition
c_sxyz.cpp:18
csXyz::set
void set(s16 oX, s16 oY, s16 oZ)
Definition
c_sxyz.h:21
f32
float f32
Definition
types.h:22
s16
signed short s16
Definition
types.h:5
vec.h
include
SSystem
SComponent
c_sxyz.h
Generated by
1.9.8