is it D3DXPlaneDotNormal?
i also would like to know how to get plane normal vector.
thanks in advance
Which directx function calculates distance from point to plane?
Started by ikk, Oct 13 2005 03:13 PM
2 replies to this topic
#1
Posted 13 October 2005 - 03:13 PM
#2
Posted 13 October 2005 - 03:16 PM
the (a, b, c) components form the plane's normal. Use the *DotCoord function to get the distance (DotNormal makes no sense since your using a point (coord), not a normal)
C++ addict
-
Currently working on: the 3D engine for Tomb Raider.
-
Currently working on: the 3D engine for Tomb Raider.
#3
Posted 13 October 2005 - 03:22 PM
thanx, D3DXPlaneDotCoord function works.
but how to get plane normal?
EDIT: oh sory i didnt noticed
but how to get plane normal?
EDIT: oh sory i didnt noticed
Quote
the (a, b, c) components
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












