.. # split from OESpicoliFunctions.rst:565


.. oe:namespace:: OESpicoli

.. meta::
   :keywords: OERotateSurface

.. oe:function:: OERotateSurface

   .. oe:language:: c++ java csharp

      .. oe:api::

         void OERotateSurface(OESurface& surf, float* rmat)

   .. oe:language:: python

      .. oe:api:: python

         OERotateSurface(surf: OESurface, rmat: OEFloatArray) -> None

   Rotates the surface by the supplied 3x3 matrix ``rmat``, specified as a
   9-element array in row-major order.

   .. seealso::

      * :oe:func:`OESpicoli::OETranslateSurface`
      * :oe:func:`OESpicoli::OETransformSurface`

