Skip to content

Instantly share code, notes, and snippets.

@PurpleBooth
PurpleBooth / README-Template.md
Last active July 22, 2024 02:29
A template to make good README.md

Project Title

One Paragraph of project description goes here

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

@sixman9
sixman9 / OpenTK Matrix4.LookAt()
Created January 25, 2011 17:35
OpenTK version of OpenGL's GluLookAt()function
Matrix4 lookat = Matrix4.LookAt(cameraPositionX, cameraPositionY, cameraPositionZ, 256, 0, 256, 0.0, 1.0, 0.0);
GL.MatrixMode(MatrixMode.Modelview);
GL.LoadMatrix(ref lookat);