Package de.nameless.graphicEngine.model

Examples of de.nameless.graphicEngine.model.MS3DMaterial


    /**
     * This method creates a new MS3DMaterial.
     * Note: Only textures of image type gif, jpg and bmp are supported
     */
    public static MS3DMaterial decodeMS3DMaterial(DataInput input) throws IOException {
        MS3DMaterial m = new MS3DMaterial();
        m.name = MS3DModel.decodeZeroTerminatedString(input, 32);
        m.ambient[0] = input.readFloat();
        m.ambient[1] = input.readFloat();
        m.ambient[2] = input.readFloat();
        m.ambient[3] = input.readFloat();
View Full Code Here

TOP

Related Classes of de.nameless.graphicEngine.model.MS3DMaterial

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.