Hehe

by Edwin on December 22nd, 2009
No notes
Syntax: No syntax
Show lines - Hide lines - Show in textbox - Download
bool SPlane::FindIntersecion(const SRay& _ray, SVec3& _result)
{
	SVec3 anyVec = _ray.PointInRay(0); // tu bład
	return true;
}
 
SVec3 SRay::PointInRay(float t)
{
	SVec3 point(pos.x + direct.x * t, pos.y + direct.y * t, pos.z + direct.z * t);
	return point;
}
 
Error	3	error C2662: 'SRay::PointInRay' : cannot convert 'this' pointer from 'const SRay' to 'SRay &'	d:\programowanie\svn\edwinraytracer\raytracercpp\common\splane.cpp	20
 

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS