Page 1 of 1

The problem is space

Posted: June 10th, 2019, 8:20 am
by aslanbey0158
AABB_2D::AABB_2D(const Math::vec2 & pos, const Math::vec2 & extents)
{
}

------------------------------------------
At above statement -- Math::vec2 & pos & this statement is mistake over VS2017
May we solve this problem manually on our computer?
And is this problem occur on later newer versions?

Re: The problem is space

Posted: June 10th, 2019, 9:00 am
by albinopapa
Uh? What's the issue?

Re: The problem is space

Posted: June 10th, 2019, 11:56 am
by cyboryxmen
I know that feel 😢

Re: The problem is space

Posted: June 11th, 2019, 12:29 am
by MrGodin
This looks like my AABB_2D class. I wrote a static library for math functions/classes. Math::vec2 is contained in this library. This may be why it isn't working?. I attached the files for the lib. The thor_math_d.lib is for debug builds and thor_math.lib is for release builds.

Re: The problem is space

Posted: June 14th, 2019, 1:44 pm
by aslanbey0158
AABB_2D::AABB_2D(const Math::vec2 & pos, const Math::vec2 & extents)
{
}

my problem isnt deal with this function. My problem is " const Math::vec2 & pos". At here " const Math::vec2& pos" should be written. " &" ->"&"
i think this problem is deal with visual C' settings or some protected file by operating system.
This problem occur passing from "*.h" to "cpp" file. I think you understand.

Re: The problem is space

Posted: June 16th, 2019, 12:45 am
by albinopapa
Yes, tools/ option/ text editor/c++ / spacing