Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

18 lines (13 sloc) 0.389 kB
//
// Constants.h
// GLKit_TD3D
//
// Created by Michael Daley on 16/09/2011.
// Copyright (c) 2011 71Squared. All rights reserved.
//
#ifndef GLKit_TD3D_Constants_h
#define GLKit_TD3D_Constants_h
#define RANDOM_0_TO_1() ((random() / (GLfloat)0x7fffffff ))
#define RANDOM_MINUS_1_TO_1() ((random() / (GLfloat)0x3fffffff )-1.0f)
#define BUFFER_OFFSET(i) ((char *)NULL + (i))
#endif
Jump to Line
Something went wrong with that request. Please try again.