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
# Pieces of Paper | |
# | |
# Take a piece of paper (roughly 0.1mm in thickness), | |
# double it 100 times. | |
from decimal import * | |
paper = Decimal('0.1') | |
total_pieces_of_paper = 1 | |
for i in range(0, 100): |
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
#include <SFML/Graphics.hpp> | |
#include <vector> | |
#include <iostream> | |
int main() { | |
sf::RenderWindow window(sf::VideoMode(640, 480), "Tile Culling"); | |
// our view | |
sf::View camera; |