예제 #1
0
 public FVec3 TransformTranspose(FMat3 matrix)
 {
     return(new FVec3
            (
                this.x * matrix.x.x + this.y * matrix.x.y + this.z * matrix.x.z,
                this.x * matrix.y.x + this.y * matrix.y.y + this.z * matrix.y.z,
                this.x * matrix.z.x + this.y * matrix.z.y + this.z * matrix.z.z
            ));
 }
예제 #2
0
 public FVec3 Transform(FMat3 matrix)
 {
     return(matrix.x * this.x + matrix.y * this.y + matrix.z * this.z);
 }