translating "const float *" from C++ to C#
<p>How can I translate this C++ code snippet into C# ?</p>

<pre><code>void fm_getAABB(..., const float *points, ...)
{    
   // ...
   const unsigned char *source = (const unsigned char *) points;
   //...    
   const float *p = (const float *) source;
   //...
}
</code></pre>

<p>I've already tried to use a <a href="http://tangiblesoftwaresolutions.com/Product_Details/CPlusPlus_to_CSharp_Converter_Details.html" rel="nofollow">C++ to C# converter</a>, but it doesn't seem able to translate it either.</p>

<p><strong>EDIT:</strong><br>
Here's the whole function:</p>

<pre><code>void fm_getAABB(unsigned int vcount, const float *points, unsigned int pstride,
    float *bmin, float *bmax)
{
    const unsigned char *source = (const unsigned char *) points;

    bmin[0] = points[0];
    bmin[1] = points[1];
    bmin[2] = points[2];

    bmax[0] = points[0];
    bmax[1] = points[1];
    bmax[2] = points[2];

    for (unsigned int i = 1; i &lt; vcount; i++)
    {
        source+=pstride;
        const float *p = (const float *) source;

        if ( p[0] &lt; bmin[0] ) bmin[0] = p[0];
        if ( p[1] &lt; bmin[1] ) bmin[1] = p[1];
        if ( p[2] &lt; bmin[2] ) bmin[2] = p[2];

        if ( p[0] &gt; bmax[0] ) bmax[0] = p[0];
        if ( p[1] &gt; bmax[1] ) bmax[1] = p[1];
        if ( p[2] &gt; bmax[2] ) bmax[2] = p[2];
    }
}
</code></pre>
