Lines Matching refs:x

592     if (nw::math::FAbs(cookedScale.x) < Epsilon)  in CalcCubeForm()
594 cookedScale.x = Epsilon; in CalcCubeForm()
614 position.x = random->NextFloatSignedOne(); in CalcCubeForm()
618 position.x *= cookedScale.x; in CalcCubeForm()
625 ((cookedScale.x * cookedScale.y) + in CalcCubeForm()
627 (cookedScale.z * cookedScale.x)); in CalcCubeForm()
641 if (d < cookedScale.x * cookedScale.y) in CalcCubeForm()
645 else if (d < (cookedScale.x * cookedScale.y) + (cookedScale.y * cookedScale.z)) in CalcCubeForm()
654 position.x *= cookedScale.x; in CalcCubeForm()
660 f32 xyz = cookedScale.x * cookedScale.y * cookedScale.z; in CalcCubeForm()
667 position.x = random->NextFloatSignedOne(); in CalcCubeForm()
698 position.x *= 1.0f - cubeForm.GetInner(); in CalcCubeForm()
699 if (position.x >= 0) in CalcCubeForm()
701 position.x = 1.0f - position.x; in CalcCubeForm()
705 position.x = -1.0f - position.x; in CalcCubeForm()
709 position.x *= cookedScale.x; in CalcCubeForm()
715 positions[i].Set(position.x, position.y, position.z); in CalcCubeForm()
719 targetTranslate[index].Set(position.x, position.y, position.z); in CalcCubeForm()
751 if (nw::math::FAbs(cookedScale.x) < Epsilon) in CalcCylinderForm()
753 cookedScale.x = Epsilon; in CalcCylinderForm()
802 position.x = sin * distance; in CalcCylinderForm()
806 position.x *= cookedScale.x; in CalcCylinderForm()
811 positions[i].Set(position.x, position.y, position.z); in CalcCylinderForm()
815 targetTranslate[index].Set(position.x, position.y, position.z); in CalcCylinderForm()
865 if (nw::math::FAbs(cookedScale.x) < Epsilon) in CalcDiscForm()
867 cookedScale.x = Epsilon; in CalcDiscForm()
920 position.x = sin * distance; in CalcDiscForm()
924 position.x *= cookedScale.x; in CalcDiscForm()
927 if (position.x == 0.0f && position.z == 0.0f) in CalcDiscForm()
929 position.x = Epsilon; in CalcDiscForm()
933 positions[i].Set(position.x, position.y, position.z); in CalcDiscForm()
937 targetTranslate[index].Set(position.x, position.y, position.z); in CalcDiscForm()
971 targetTranslate[index].x = random->NextFloatSignedHalf() * Radius; in CalcPointForm()
1005 if (nw::math::FAbs(cookedScale.x) < Epsilon) in CalcSphereForm()
1007 cookedScale.x = Epsilon; in CalcSphereForm()
1066 position.x = sinYaw * -cosPitch; in CalcSphereForm()
1072 position.x *= cookedScale.x; in CalcSphereForm()
1077 positions[i].Set(position.x, position.y, position.z); in CalcSphereForm()
1081 targetTranslate[index].Set(position.x, position.y, position.z); in CalcSphereForm()
1103 if (nw::math::FAbs(cookedScale.x) < Epsilon) in CalcRectangleForm()
1105 cookedScale.x = Epsilon; in CalcRectangleForm()
1120 position.x = random->NextFloatSignedOne(); in CalcRectangleForm()
1123 position.x *= cookedScale.x; in CalcRectangleForm()
1129 (cookedScale.x + cookedScale.y); in CalcRectangleForm()
1133 if (r < cookedScale.x * 2.0f) in CalcRectangleForm()
1136 r - cookedScale.x, in CalcRectangleForm()
1143 cookedScale.x, in CalcRectangleForm()
1145 r - (cookedScale.x * 2.0f) - cookedScale.y); in CalcRectangleForm()
1150 if (r > -cookedScale.x * 2.0f) in CalcRectangleForm()
1153 r + cookedScale.x, in CalcRectangleForm()
1160 -cookedScale.x, in CalcRectangleForm()
1162 r + (cookedScale.x * 2.0f) + cookedScale.y); in CalcRectangleForm()
1171 position.x = random->NextFloatSignedOne(); in CalcRectangleForm()
1189 position.x *= 1.0f - rectangleForm.GetInner(); in CalcRectangleForm()
1190 if (position.x >= 0) in CalcRectangleForm()
1192 position.x = 1.0f - position.x; in CalcRectangleForm()
1196 position.x = -1.0f - position.x; in CalcRectangleForm()
1200 position.x *= cookedScale.x; in CalcRectangleForm()
1203 if (position.x == 0.0f && position.z == 0.0f) in CalcRectangleForm()
1205 position.x = Epsilon; in CalcRectangleForm()
1210 positions[i].Set(position.x, position.y, position.z); in CalcRectangleForm()
1214 targetTranslate[index].Set(position.x, position.y, position.z); in CalcRectangleForm()