Project::OSiRiON - Git repositories
Project::OSiRiON
News . About . Screenshots . Downloads . Forum . Wiki . Tracker . Git
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStijn Buys <ingar@osirion.org>2008-07-30 16:00:49 +0000
committerStijn Buys <ingar@osirion.org>2008-07-30 16:00:49 +0000
commitd09a1be33a647aedc12ce5ddcb7ea4ee23a75c8c (patch)
tree8fe9d8778223e22e8c957b59c51bccabb98d2b94 /src/math/vector3f.cc
parentad436de3a520fb2469dafe23afe03dd0afe8d189 (diff)
various minor issues: ESC closing chat, g_autolevel
Diffstat (limited to 'src/math/vector3f.cc')
-rw-r--r--src/math/vector3f.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/math/vector3f.cc b/src/math/vector3f.cc
index d5173bb..57ad52a 100644
--- a/src/math/vector3f.cc
+++ b/src/math/vector3f.cc
@@ -49,7 +49,9 @@ void Vector3f::assign(const float vx, const float vy, const float vz)
void Vector3f::assign(Vector3f const & other)
{
- memcpy(coord, other.coord, sizeof(coord));
+ coord[0] = other.coord[0];
+ coord[1] = other.coord[1];
+ coord[2] = other.coord[2];
}
Vector3f & Vector3f::operator=(const Vector3f & other)