diff options
author | Aki <please@ignore.pl> | 2021-10-01 22:52:04 +0200 |
---|---|---|
committer | Aki <please@ignore.pl> | 2021-10-01 23:45:09 +0200 |
commit | 5e6773397cc101c7c3d08482efc456daa91734e9 (patch) | |
tree | d6a116bb2c12dab6ff5e0f212676a9ac6bd19346 /Opcode/Ice/IceIndexedTriangle.h | |
parent | c2d2c3551501110fddd78674d5435bfaa70382a3 (diff) | |
download | starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.zip starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.gz starshatter-5e6773397cc101c7c3d08482efc456daa91734e9.tar.bz2 |
Switched to use only one version of Opcode
Diffstat (limited to 'Opcode/Ice/IceIndexedTriangle.h')
-rw-r--r-- | Opcode/Ice/IceIndexedTriangle.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Opcode/Ice/IceIndexedTriangle.h b/Opcode/Ice/IceIndexedTriangle.h index 5dc39ea..2cffa92 100644 --- a/Opcode/Ice/IceIndexedTriangle.h +++ b/Opcode/Ice/IceIndexedTriangle.h @@ -60,7 +60,7 @@ float MaxEdgeLength(const IcePoint* verts) const;
void ComputePoint(const IcePoint* verts, float u, float v, IcePoint& pt, udword* nearvtx=null) const;
float Angle(const IndexedTriangle& tri, const IcePoint* verts) const;
- inline_ Plane PlaneEquation(const IcePoint* verts) const { return Plane(verts[mVRef[0]], verts[mVRef[1]], verts[mVRef[2]]); }
+ inline_ IcePlane PlaneEquation(const IcePoint* verts) const { return IcePlane(verts[mVRef[0]], verts[mVRef[1]], verts[mVRef[2]]); }
bool Equal(const IndexedTriangle& tri) const;
CubeIndex ComputeCubeIndex(const IcePoint* verts) const;
};
|