From 4a5ba266d41428158bf1b65d2976c11126174996 Mon Sep 17 00:00:00 2001 From: Tavian Barnes Date: Thu, 22 May 2014 17:04:05 -0400 Subject: geometry.h: Fix copy-pasta. --- libdimension/dimension/geometry.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libdimension/dimension/geometry.h b/libdimension/dimension/geometry.h index 38afa3b..59fb285 100644 --- a/libdimension/dimension/geometry.h +++ b/libdimension/dimension/geometry.h @@ -1,5 +1,5 @@ /************************************************************************* - * Copyright (C) 2009-2011 Tavian Barnes * + * Copyright (C) 2009-2014 Tavian Barnes * * * * This file is part of The Dimension Library. * * * @@ -363,7 +363,7 @@ dmnsn_transform_point(dmnsn_matrix T, dmnsn_vector v) DMNSN_INLINE dmnsn_vector dmnsn_transform_direction(dmnsn_matrix T, dmnsn_vector v) { - /* 9 multiplications, 9 additions */ + /* 9 multiplications, 6 additions */ dmnsn_vector r; r.x = T.n[0][0]*v.x + T.n[0][1]*v.y + T.n[0][2]*v.z; r.y = T.n[1][0]*v.x + T.n[1][1]*v.y + T.n[1][2]*v.z; -- cgit v1.2.3