Plane

Started by
1 comment, last by Kheteris 20 years, 1 month ago
Hey there, I was curious, is there a kind of variable that can store a plane? Like, hold three (x,y,z) coordinates in one variable? Or do I have to make an array or something?
Advertisement
I dont have a clue. But perhaps you would get better answers if you told us the language you are using.
--------------------------------MSDN
Begginers
Well you need a vec4(it''s an array of four floats).
for a plane you need to store four values, first the normal of the plane then the distance from origo.

if you want to store a polygon then you would need an array of 3 int''s refering to another list of vertics.

---------------------------------
For an overdose of l33tness, flashbang.nu

This topic is closed to new replies.

Advertisement