Beispiel #1
0
        public static bool QuadMesh(TriMesh mesh, int rows, int cols, float INPUT, long firstvtx)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_QuadMesh(TriMesh.getCPtr(mesh), rows, cols, INPUT, firstvtx);

            return(ret);
        }
Beispiel #2
0
        public static bool Rect(TriMesh mesh, float w, float h)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Rect__SWIG_2(TriMesh.getCPtr(mesh), w, h);

            return(ret);
        }
Beispiel #3
0
        public static bool Rect(TriMesh mesh)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Rect__SWIG_4(TriMesh.getCPtr(mesh));

            return(ret);
        }
Beispiel #4
0
        public static bool Rect(TriMesh mesh, float w, float h, float xtex, float ytex)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Rect__SWIG_0(TriMesh.getCPtr(mesh), w, h, xtex, ytex);

            return(ret);
        }
Beispiel #5
0
        public static bool IcosaSphere(TriMesh mesh, float fRadius, int depth, bool hemi)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_IcosaSphere(TriMesh.getCPtr(mesh), fRadius, depth, hemi);

            return(ret);
        }
Beispiel #6
0
        public static bool Cylinder(TriMesh mesh, int parts, float tradius, float bradius, float height, int res)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Cylinder(TriMesh.getCPtr(mesh), parts, tradius, bradius, height, res);

            return(ret);
        }
Beispiel #7
0
        public static bool Torus(TriMesh mesh, float irad, float orad, int res)
        {
            bool ret = VixenLibPINVOKE.GeoUtil_Torus(TriMesh.getCPtr(mesh), irad, orad, res);

            return(ret);
        }
Beispiel #8
0
 internal static HandleRef getCPtr(TriMesh obj)
 {
     return((obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr);
 }