Package de.ailis.jollada.model

Examples of de.ailis.jollada.model.Vertices


     */

    private void enterVertices(final Attributes attributes)
    {
        final String id = attributes.getValue("id");
        this.vertices = new Vertices(id);
        this.vertices.setName(attributes.getValue("name"));
        enterElement(ParserMode.VERTICES);
    }
View Full Code Here


     */

    @Test
    public void testConstructor()
    {
        final Vertices vertices = new Vertices("ID");
        final Mesh mesh = new Mesh(vertices);
        assertEquals(0, mesh.getSources().size());
        assertEquals(0, mesh.getPrimitives().size());
        assertSame(vertices, mesh.getVertices());
    }
View Full Code Here

     */

    @Test
    public void testSetVertices()
    {
        Vertices vertices = new Vertices("ID");
        final Mesh mesh = new Mesh(vertices);
        vertices = new Vertices("ID2");
        mesh.setVertices(vertices);
        assertSame(vertices, mesh.getVertices());
    }
View Full Code Here

     */

    @Test
    public void testVerticesAgain()
    {
        final Vertices vertices = new Vertices("ID");
        final Mesh mesh = new Mesh(vertices);
        mesh.setVertices(vertices);
        assertSame(vertices, mesh.getVertices());
    }
View Full Code Here

TOP

Related Classes of de.ailis.jollada.model.Vertices

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.