From 729a0b4544347c28dcf2aa26c5ba30c3c1669f73 Mon Sep 17 00:00:00 2001 From: Hugh Sanderson Date: Mon, 25 Mar 2024 16:05:32 +0800 Subject: [PATCH] Add renderModelView base function --- src/nme/gl/ProgramBase.hx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/nme/gl/ProgramBase.hx b/src/nme/gl/ProgramBase.hx index e0f12ada2..66ea12597 100644 --- a/src/nme/gl/ProgramBase.hx +++ b/src/nme/gl/ProgramBase.hx @@ -22,6 +22,8 @@ class ProgramBase public function renderMtx(mvp:Matrix3D) render( Float32Array.fromMatrix(mvp) ); + public function renderModelView(mvp:Matrix3D,mv:Matrix3D) renderMtx( mvp ); + public function renderClipped(mvp:Float32Array, plane:Vector3D) render(mvp);