Go to the source code of this file.
Typedefs | |
| typedef struct MR_RayOrigin_float | MR_RayOrigin_float |
| typedef struct MR_RayOrigin_float MR_RayOrigin_float |
Generated from class MR::RayOrigin<float>. Supported MR_PassBy modes: MR_PassBy_Copy, MR_PassBy_Move (and MR_PassBy_DefaultArgument and MR_PassBy_NoObject if supported by the callee).
| MRC_API bool MR_rayBoxIntersect_4_MR_Box3f | ( | const MR_Box3f * | box, |
| const MR_Line3f * | line, | ||
| float | t0, | ||
| float | t1 ) |
Generated from function MR::rayBoxIntersect<float>. Parameter box can not be null. It is a single object. Parameter line can not be null. It is a single object.
| MRC_API bool MR_rayBoxIntersect_5 | ( | const MR_Box3f * | box, |
| const MR_RayOrigin_float * | rayOrigin, | ||
| float * | t0, | ||
| float * | t1, | ||
| const MR_IntersectionPrecomputes_float * | prec ) |
finds intersection between the Ray and the Box. Precomputed values could be useful for several calls with the same direction, see "An Efficient and Robust Ray-Box Intersection Algorithm" at https://people.csail.mit.edu/amy/papers/box-jgt.pdf Generated from function MR::rayBoxIntersect<float>. Parameter box can not be null. It is a single object. Parameter rayOrigin can not be null. It is a single object. Parameter t0 can not be null. It is a single object. Parameter t1 can not be null. It is a single object. Parameter prec can not be null. It is a single object.
| MRC_API MR_RayOrigin_float * MR_RayOrigin_float_AssignFromAnother | ( | MR_RayOrigin_float * | _this, |
| const MR_RayOrigin_float * | _other ) |
Generated from method MR::RayOrigin<float>::operator=. Parameter _this can not be null. It is a single object. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in this object. The returned pointer will never be null. It is non-owning, do NOT destroy it. When this function is called, this object will drop any object references it held previously.
| MRC_API MR_RayOrigin_float * MR_RayOrigin_float_Construct | ( | const MR_Vector3f * | ro | ) |
Generated from constructor MR::RayOrigin<float>::RayOrigin. Parameter ro can not be null. It is a single object. The reference to the parameter ro might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_RayOrigin_float_Destroy() to free it when you're done using it.
| MRC_API MR_RayOrigin_float * MR_RayOrigin_float_ConstructFromAnother | ( | const MR_RayOrigin_float * | _other | ) |
Generated from constructor MR::RayOrigin<float>::RayOrigin. Parameter _other can not be null. It is a single object. The reference to things referred to by the parameter _other (if any) might be preserved in the constructed object. Never returns null. Returns an instance allocated on the heap! Must call MR_RayOrigin_float_Destroy() to free it when you're done using it.
| MRC_API void MR_RayOrigin_float_Destroy | ( | const MR_RayOrigin_float * | _this | ) |
Destroys a heap-allocated instance of MR_RayOrigin_float. Does nothing if the pointer is null.
| MRC_API void MR_RayOrigin_float_DestroyArray | ( | const MR_RayOrigin_float * | _this | ) |
Destroys a heap-allocated array of MR_RayOrigin_float. Does nothing if the pointer is null.
| MRC_API MR_RayOrigin_float * MR_RayOrigin_float_OffsetMutablePtr | ( | MR_RayOrigin_float * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.
| MRC_API const MR_RayOrigin_float * MR_RayOrigin_float_OffsetPtr | ( | const MR_RayOrigin_float * | ptr, |
| ptrdiff_t | i ) |
Offsets a pointer to an array element by i positions (not bytes). Use only if you're certain that the pointer points to an array element. The reference to the parameter ptr might be preserved in the return value.