… | |
… | |
2551 | faceinfo *f = face_info (idx); |
2551 | faceinfo *f = face_info (idx); |
2552 | assert (f); |
2552 | assert (f); |
2553 | f->visibility = visibility; |
2553 | f->visibility = visibility; |
2554 | f->magicmap = magicmap; |
2554 | f->magicmap = magicmap; |
2555 | |
2555 | |
2556 | void set_smooth (faceidx idx, faceidx smooth) |
2556 | void set_smooth (faceidx idx, faceidx smooth, int smoothlevel) |
2557 | CODE: |
2557 | CODE: |
2558 | faceinfo *f = face_info (idx); |
2558 | faceinfo *f = face_info (idx); assert (f); |
2559 | assert (f); |
|
|
2560 | f->smooth = smooth; |
2559 | f->smooth = smooth; |
|
|
2560 | f->smoothlevel = smoothlevel; |
2561 | |
2561 | |
2562 | void set_data (faceidx idx, int faceset, SV *data, SV *chksum) |
2562 | void set_data (faceidx idx, int faceset, SV *data, SV *chksum) |
2563 | CODE: |
2563 | CODE: |
2564 | { |
2564 | { |
2565 | facedata *d = face_data (idx, faceset); |
2565 | facedata *d = face_data (idx, faceset); |