| 2114 | ImVec2 PlotToPixels(double x, double y, double z) { return PlotToPixels(ImPlot3DPoint(x, y, z)); } |
| 2115 | |
| 2116 | ImPlot3DRay PixelsToPlotRay(const ImVec2& pix) { |
| 2117 | ImPlot3DContext& gp = *GImPlot3D; |
| 2118 | IM_ASSERT_USER_ERROR(gp.CurrentPlot != nullptr, "PixelsToPlotRay() needs to be called between BeginPlot() and EndPlot()!"); |
| 2119 | return NDCRayToPlotRay(PixelsToNDCRay(pix)); |
| 2120 | } |
| 2121 | |
| 2122 | ImPlot3DRay PixelsToPlotRay(double x, double y) { return PixelsToPlotRay(ImVec2((float)x, (float)y)); } |
| 2123 |
no test coverage detected