Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

I query ComputeBoundingBox Method and get this:

 

---------------

 

Note: This documentation is preliminary and is subject to change.

Computes a coordinate-axis-oriented bounding box.

 

Definition

 

Visual Basic Public Shared Sub ComputeBoundingBox( _

ByVal pointsFvf As GraphicsStream, _

ByVal numVertices As Integer, _

ByVal vertexFormat As VertexFormats, _

ByRef min As Vector3, _

ByRef max As Vector3 _

)

Parameters

 

pointsFvf Microsoft.DirectX.Direct3D.GraphicsStream.

numVertices System.Int32.

vertexFormat Microsoft.DirectX.Direct3D.VertexFormats.

min Microsoft.DirectX.Vector3.

max Microsoft.DirectX.Vector3.

------

 

Which tells me next to diddle!

 

I dare say there are some real whiz kids among us that will understand this with ease, but for a lot of us it mean nothing, no explanation, example etc?

 

Is there any other source of help out there or as an up and coming DX programmer must I resolve myself to having to keep asking the gurus for advice?

My website
Posted
pointsFvF is a stream containing your list of vertices you want a bounding-box for. numVertices is the number of vertices you just passed in. vertexFormat is the format your vertices in the first parameter are in. min and max are filled in by the function and are vertices representing 2 opposite corners of the resulting bounding box.
Posted
Thanks that is helpful, I shall have to experiment but I still think it would be better if they supplied a simple example like they do in the standard help!
My website
Posted

I hadn't but just tried searching in it for ComputeBoundingBox and get a "No Topics Found":(

 

What a suprise!

 

Why? MS Why?

My website
Posted

Doh, so not only do I have to try to decode help from a different language I also have to suss out what the different name is for the command??

 

Way to go MS....they sure like to make things difficult:(

My website

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...