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?
The problem is space
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: The problem is space
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
- cyboryxmen
- Posts: 190
- Joined: November 14th, 2014, 2:03 am
Re: The problem is space
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 246 times
Curiosity killed the cat, satisfaction brought him back
-
- Posts: 52
- Joined: April 15th, 2017, 10:48 am
Re: The problem is space
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.
{
}
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.
-
- Posts: 4373
- Joined: February 28th, 2013, 3:23 am
- Location: Oklahoma, United States
Re: The problem is space
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