Created
May 19, 2018 16:39
-
-
Save dnevera/23c07af290af364e96caa72405691bda to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if self.centers.count > 0 { | |
// копирем в цвета данные из буфера GPU в массив цветов | |
memcpy(&self._colors, self.colorsBuffer.contents(), self.colorsBuffer.length) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment