0

Consistency with layout vectors

Anonymous 10 years ago 0
This discussion was imported from CodePlex

murray_b wrote at 2012-04-17 04:51:

Hi Objo

I have been using TextCreator and GridLinesVisual3D and noticed a little inconsistency

The layout of these both use two vectors to define the layout.

Ie  GridlinesVisual3D uses : Normal, LengthDirection

TextCreator uses: Over, Up

Essentially the same thing

If you use the same vectors with these they are drawn at 90 degrees to each other.

Do you think they should orientate the same?

Just a thought

Regards

Murray


objo wrote at 2012-04-17 08:02:

Good point, I want the api to be as consistent as possible. I will see if I can improve it. I guess you want to define the normal of the text face? 


murray_b wrote at 2012-04-17 08:08:

Yes that sounds good.   Normal, HeighDirection ? maybe, would seem consistent.

What ever you think is best. 

I just noticed this because i was using a grid and text together and found it strange that I had to use two different sets of vectors to get them to line up.

Thanks

Murray