|
-
Aug 6th, 2002, 06:57 PM
#1
Thread Starter
Lively Member
DIRECTX8 : D3DVERTEX - nx, ny, nz?
Here is some DirectX code. The values x y and z are your bog standard 3d coordinates. The values tu and tv determine the part of the bitmap that is drawn but what do nx, ny and nz mean?
Please some1 help me!
Function MakeVertex(x As Single, y As Single, z As Single, nx As Single, ny As Single, nz As Single, tu As Single, tv As Single) As D3DVERTEX
With MakeVertex
.x = x
.y = y
.z = z
.nx = nx
.ny = ny
.nz = nz
.tu = tu
.tv = tv
End With
End Function
Thanks in advance Dan
PS Please could you make any explanations as simple as possible and give examples as well please. Thankyou .
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|