Tutorials
Getting Started
Your First Project
OPengine Structure
Scripting
Reference
Core reference
Data reference
Math reference
OPboundingBox2D.h
OPboundingBox3D.h
OPboundingSphere3D.h
OPbox2D.h
OPintersection2D.h
OPline2D.h
OPmat3.h
OPmat4.h
OPquat.h
OPray2D.h
OPray3D.h
OPtriangle.h
OPtriangle
Globals
Functions
OPtween.h
OPvec2.h
OPvec3.h
OPvec4.h
Solvers.h
Performance reference
Human reference
Communication reference
Pipeline reference
Scripting reference
Community
Slack Channel
Trello Roadmap
OPengine
Learn
»
Math reference
»
OPtriangle.h
OPtriangle.h
¶
OPtriangle
¶
OPvec3 pointOne
OPvec3 pointTwo
OPvec3 pointThree
Globals
¶
Functions
¶
i8 OPtriangleRayIntersect ( OPtriangle* triangle, OPray3D* ray, OPvec3* hit )