Browse Source

Fixed comments on point and vector transforms.

David Piuva 5 years ago
parent
commit
2bd22059bf
1 changed files with 2 additions and 2 deletions
  1. 2 2
      Source/DFPSR/math/Transform3D.h

+ 2 - 2
Source/DFPSR/math/Transform3D.h

@@ -38,11 +38,11 @@ public:
 	  position(position),
 	  transform(transform) {}
 
-	// Transform the point by multiplying with the matrix
+	// Transform the point by multiplying with the 3x3 matrix and adding the translation
 	FVector3D transformPoint(const FVector3D &p) const {
 		return this->transform.transform(p) + this->position;
 	}
-	// Transform the vector by multiplying with the matrix
+	// Transform the vector by multiplying with the 3x3 matrix
 	FVector3D transformVector(const FVector3D &p) const {
 		return this->transform.transform(p);
 	}