Ruchi
April 19, 2020, 8:14am
1
I am sorry if this is very trivial to ask. I couldn’t find a satisfactory definition on java sites.What are they & why are they used in begin shapes for eg beginShape(PConstants.TRIANGLES).?
1 Like
Processing.GitHub.io/processing-javadocs/core/processing/core/PConstants.html
/* -*- mode: java; c-basic-offset: 2; indent-tabs-mode: nil -*- */
/*
Part of the Processing project - http://processing.org
Copyright (c) 2004-11 Ben Fry and Casey Reas
Copyright (c) 2001-04 Massachusetts Institute of Technology
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General
Public License along with this library; if not, write to the
This file has been truncated. show original
2 Likes