The problem is space

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
aslanbey0158
Posts: 27
Joined: April 15th, 2017, 10:48 am

The problem is space

Post by aslanbey0158 » June 10th, 2019, 8:20 am

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?

albinopapa
Posts: 3756
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: The problem is space

Post by albinopapa » June 10th, 2019, 9:00 am

Uh? What's the issue?
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

User avatar
cyboryxmen
Posts: 163
Joined: November 14th, 2014, 2:03 am

Re: The problem is space

Post by cyboryxmen » June 10th, 2019, 11:56 am

I know that feel 😢
Zekilk

MrGodin
Posts: 712
Joined: November 30th, 2013, 7:40 pm
Location: Merville, British Columbia Canada

Re: The problem is space

Post by MrGodin » June 11th, 2019, 12:29 am

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.
Attachments
math.zip
(367.37 KiB) Downloaded 18 times
Curiosity killed the cat, satisfaction brought him back

aslanbey0158
Posts: 27
Joined: April 15th, 2017, 10:48 am

Re: The problem is space

Post by aslanbey0158 » June 14th, 2019, 1:44 pm

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.

albinopapa
Posts: 3756
Joined: February 28th, 2013, 3:23 am
Location: Oklahoma, United States

Re: The problem is space

Post by albinopapa » June 16th, 2019, 12:45 am

Yes, tools/ option/ text editor/c++ / spacing
If you think paging some data from disk into RAM is slow, try paging it into a simian cerebrum over a pair of optical nerves. - gameprogrammingpatterns.com

Post Reply