Skip to content

Instantly share code, notes, and snippets.

View AmruthPillai's full-sized avatar
🎯
Channelling my Inner Chi

Amruth Pillai AmruthPillai

🎯
Channelling my Inner Chi
View GitHub Profile
@AmruthPillai
AmruthPillai / OpenGL-House.cpp
Created February 16, 2017 07:31
My first house, on OpenGL. One small step for man.
#include <GL/GLUT.h>
void init(float r, float g, float b) {
glClearColor(r, g, b, 0.0);
glMatrixMode(GL_PROJECTION);
gluOrtho2D(0.0, 0.0, 0.0, 0.0);
}
void display() {
glClear(GL_COLOR_BUFFER_BIT);
@AmruthPillai
AmruthPillai / colors.xml
Last active October 16, 2016 04:38
Google Material Design Color Palette for Android XML
<?xml version="1.0" encoding="utf-8"?>
<!--
Google Material Design Color Palette for Android XML
http://www.google.com/design/spec/style/color.html#color-ui-color-palette
-->
<resources>
<color name="red_50">#FFEBEE</color>
<color name="red_100">#FFCDD2</color>