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
// shader.cpp | |
// line 537 | |
// void ShaderSource::onSetConstants | |
// Add the following to top of function: | |
static unsigned numLoops = 0; | |
++numLoops; | |
if ((numLoops % 200) != 0) |
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
<?php | |
class Factory { | |
function Make() { | |
return new Widget(); | |
} | |
} | |
class Widget { | |
private function __construct() { |