This file contains hidden or 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
| // ----------------------------------------------------------------------------- | |
| // BYN SOFTWARE, COPYRIGHT 2012 | |
| // | |
| // Author: Jan-Willem Buurlage et al. | |
| // Contact: j.buurlage@students.uu.nl | |
| // | |
| // Part of the Starry project, an astronomy application for the regular user, | |
| // for the iPad and iPhone. | |
| // ----------------------------------------------------------------------------- |
This file contains hidden or 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
| // ----------------------------------------------------------------------------- | |
| // BYN SOFTWARE, COPYRIGHT 2012 | |
| // | |
| // Author: Jan-Willem Buurlage et al. | |
| // Contact: j.buurlage@students.uu.nl | |
| // | |
| // Part of the Starry project, an astronomy application for the regular user, | |
| // for the iPad and iPhone. | |
| // ----------------------------------------------------------------------------- |
This file contains hidden or 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
| header = UILabel.alloc.initWithFrame([[20, 260], [view.frame.size.width - 20 * 2, 40]]) | |
| #=> expected instance of `CGPoint', got `20' (Fixnum) (TypeError) |
This file contains hidden or 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
| void Terrain::generateIndices() { | |
| // we calculate the amount of levels and make the index buffers | |
| int level_max = log2(patch_size - 1); | |
| indexCount = new GLuint[level_max + 1]; | |
| indexBuffer = new GLuint[level_max + 1]; | |
NewerOlder