Skip to content

Instantly share code, notes, and snippets.

View ricanteja's full-sized avatar

Ricardo Antonio Tejada ricanteja

  • Atlanta, Georgia
View GitHub Profile
// Ricardo Tejada (c) 2021
using System;
using System.Collections.Generic;
namespace InterviewQuestions
{
class Program
{
static void Main(string[] args)
@ricanteja
ricanteja / RotateImage.h
Last active August 29, 2015 14:27
SFML sf::Image rotation
// Small code for rotating an image
#include <SFML\Graphics.hpp>
void rotateImage(sf::Image& image)
{
sf::Vector2u size = image.getSize();
sf::Image rotated_image;
rotated_image.create(size.y, size.x);
for(unsigned int col = 0; col < size.y; col++)