|
|
error C2562: 'NxSegmentPlaneIntersect' : 'void' function returning a value
指向源代码:
NX_INLINE void NxSegmentPlaneIntersect(const NxVec3& v1, const NxVec3& v2,
const NxPlane& plane, NxReal& dist, NxVec3& pointOnPlane)
{
return NxGetUtilLib()->NxSegmentPlaneIntersect(v1,v2,plane,dist,pointOnPlane);
}
将return去掉,或将void 改为float都不行,
甚至去掉源代码,
同样出现这样的信息:
'void' function returning a value
还望各位大虾不吝赐教。万分感谢!! |
|