gpuray_glsl

view src/object.cc @ 5:000017955721

fixed the cone normal
author John Tsiombikas <nuclear@member.fsf.org>
date Tue, 11 Nov 2014 20:25:59 +0200
parents
children
line source
1 #include "object.h"
3 void Object::prepare_xform(long msec)
4 {
5 get_xform(msec, &xform, &inv_xform);
6 dir_xform = xform;
7 dir_xform.keep_upper_left();
8 }