Blender Git Loki

Git Commits -> Revision 7664d94

Revision 7664d94 by Mike Erwin (master)
August 11, 2016, 04:11 (GMT)
Gawain: allow partial vertex specification

If you don?t specify a vertex?s color, it will use the color of the
previous vertex. Similar for all other attributes.

This matches the legacy behavior of glColor, glNormal, etc. *except* in
Gawain the first vertex of each immBegin must be fully specified. There
is no ?current? color in the new system.

Commit Details:

Full Hash: 7664d947b38e1451b973deb7488ec881bedf5dcc
Parent Commit: 4aadf73
Lines Changed: +22, -3

1 Modified Path:

/source/blender/gpu/intern/gpu_immediate.c (+22, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021