wahyu-GTA-Online-OUTDATED-B.../subVersion/vector.h

44 lines
1013 B
C
Raw Permalink Normal View History

2020-11-06 18:55:46 +07:00
/*
Copyright 2016-2017 sub1to
This file is part of subVersion GTA:O SC External Hack.
subVersion GTA:O SC External Hack is free software: you can redistribute
it and/or modify it under the terms of the GNU General Public License
as published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
subVersion GTA:O SC External Hack is distributed in the hope that it
will be useful, but WITHOUT ANY WARRANTY; without even the implied
warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See
the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with subVersion GTA:O SC External Hack. If not, see <http://www.gnu.org/licenses/>.
*/
#ifndef VECTOR_H
#define VECTOR_H
struct v2
{
float x = 0,
y = 0;
};
struct v3
{
float x = 0,
y = 0,
z = 0;
v3(){}
v3(float x, float y, float z)
{
this->x = x;
this->y = y;
this->z = z;
}
};
#endif