mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-27 13:20:34 +05:00
static array
This commit is contained in:
parent
ca25d6838b
commit
b65d63cf11
@ -1029,8 +1029,11 @@ namespace netgen
|
|||||||
else
|
else
|
||||||
glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, matcol);
|
glMaterialfv(GL_FRONT_AND_BACK, GL_AMBIENT_AND_DIFFUSE, matcol);
|
||||||
|
|
||||||
|
static Point<3> xa[129];
|
||||||
|
static Vec<3> na[129];
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
for (int hi = 0; hi < seia.Size(); hi++)
|
for (int hi = 0; hi < seia.Size(); hi++)
|
||||||
{
|
{
|
||||||
SurfaceElementIndex sei = seia[hi];
|
SurfaceElementIndex sei = seia[hi];
|
||||||
@ -1058,8 +1061,6 @@ namespace netgen
|
|||||||
if (curv.IsHighOrder()) // && curv.IsSurfaceElementCurved(sei))
|
if (curv.IsHighOrder()) // && curv.IsSurfaceElementCurved(sei))
|
||||||
{
|
{
|
||||||
if (hoplotn > 128) hoplotn = 128;
|
if (hoplotn > 128) hoplotn = 128;
|
||||||
Point<3> xa[129];
|
|
||||||
Vec<3> na[129];
|
|
||||||
|
|
||||||
for (int i = 0; i < hoplotn; i++)
|
for (int i = 0; i < hoplotn; i++)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user